Skip to main content
POST
Get a Mastodon media attachment

Authorizations

Authorization
string
header
required

Pass your API key via the Authorization header: Bearer <api-key>

Body

application/json
channelId
string
required

Mastodon channel ID

Example:

"ch_md123"

mediaId
string
required

Mastodon media ID

Response

Successful response

data
object
required
success
boolean
required
error
string
Last modified on November 23, 2026