Get one post
GET
http://localhost:4000/api/v1 /posts/{id} Parameters
idstring
path
required
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/posts/{id}" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{
"id": "string",
"organizationId": "string",
"authorId": "string",
"parts": {},
"status": "draft",
"scheduledAt": "2024-01-01T00:00:00Z",
"clientId": "string",
"aiGenerated": true,
"recycledFromId": "string",
"idempotencyKey": "string",
"source": "string",
"draftReason": "string",
"draftProblem": {},
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"targets": [
{
"id": "string",
"organizationId": "string",
"postId": "string",
"channelId": "string",
"parts": {},
"settings": {},
"status": "pending",
"published": {},
"notBefore": "2024-01-01T00:00:00Z",
"remoteUrl": "string",
"error": "string",
"errorCode": "string",
"errorParams": {},
"attempts": 0,
"publishedAt": "2024-01-01T00:00:00Z",
"pending": {}
}
],
"tagIds": [
"string"
]
}Schema
idstring
required
organizationIdstring
required
authorIdstring
required
partsrequired
statusstring
required
scheduledAtstring
required
clientIdstring
required
aiGeneratedboolean
required
recycledFromIdstring
required
idempotencyKeystring
required
sourcestring
required
draftReasonstring
required
draftProblemrequired
createdAtstring
required
updatedAtstring
required
targetsobject[]
required
Show child parameters
idstring
required
organizationIdstring
required
postIdstring
required
channelIdstring
required
partsrequired
settingsrequired
statusstring
required
publishedrequired
notBeforestring
required
remoteUrlstring
required
errorstring
required
errorCodestring
required
errorParamsrequired
attemptsnumber
required
publishedAtstring
required
pendingrequired
tagIdsstring[]
required
Updated