GroundsocialDocs

API · Gab

GET /gab/posts/{id}

One Gab post with its counts and media.

RequestGET /v1/gab/posts/{id}
Operation idgab.post.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

One Gab post with its counts and media.

Path parameters

NameTypeRequiredDescription
idstringyesA post id or its gab.com URL. Example: 117672526190050854.

Responses

StatusMeaningSchema
200The post.GabStatus
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The account or post does not exist or was deleted.Error
429Too many requests. Wait for Retry-After seconds.Error
503Gab is temporarily unavailable. Retryable; nothing was charged.Error

GabStatus fields

FieldTypeDescription
idstring
created_atstring
urlstring | null
contentstringHTML.
in_reply_to_idstring | null
replies_countinteger
reblogs_countinteger
favourites_countinteger
accountobject
media_attachmentsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.