Get one post

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-posts-get"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/57096ab0-bc87-4eb1-90d9-73074f2f2a66/social-card.svg?v=3e7ae33eec8b" alt="Get one post" width="600" height="315"></a>
GET http://localhost:4000/api/v1/posts/{id}

Parameters

id
string
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
id
string
required
organizationId
string
required
authorId
string
required
parts
required
status
string
required
draft | pending_approval | scheduled | publishing | published | failed
scheduledAt
string
required
clientId
string
required
aiGenerated
boolean
required
recycledFromId
string
required
idempotencyKey
string
required
source
string
required
draftReason
string
required
draftProblem
required
createdAt
string
required
updatedAt
string
required
targets
object[]
required
Show child parameters
id
string
required
organizationId
string
required
postId
string
required
channelId
string
required
parts
required
settings
required
status
string
required
pending | publishing | published | failed
published
required
notBefore
string
required
remoteUrl
string
required
error
string
required
errorCode
string
required
errorParams
required
attempts
number
required
publishedAt
string
required
pending
required
tagIds
string[]
required
Updated