API · Truth Social
GET /truthsocial/posts/{id}
One Truth Social post with its media and reply, repost, like counts.
| Request | GET /v1/truthsocial/posts/{id} |
| Operation id | truthsocial.post.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One Truth Social post with its media and reply, repost, like counts.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | A post id or post URL. Example: 117400465758567373. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The post. | TruthSocialStatus |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The account or post does not exist or was removed. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Truth Social is temporarily unavailable. Retryable; nothing was charged. | Error |
TruthSocialStatus fields
| Field | Type | Description |
|---|---|---|
id | string | The post id, as a decimal string. |
created_at | string | ISO 8601. |
in_reply_to_id | string | null | |
in_reply_to_account_id | string | null | |
quote_id | string | null | |
sensitive | boolean | |
spoiler_text | string | |
visibility | string | |
language | string | null | |
uri | string | |
url | string | null | |
content | string | The text, as HTML. |
account | TruthSocialAccount | A Truth Social account (Mastodon Account entity). |
media_attachments | object[] | |
mentions | object[] | |
tags | object[] | |
card | object | null | |
replies_count | integer | |
reblogs_count | integer | |
favourites_count | integer | |
upvotes_count | integer | |
reblog | object | null | The reposted post, for a ReTruth. |
quote | object | null | The quoted post. |
Errors use one shape everywhere; see Errors for every code and what to do.