Skip to main content
POST
/
posts
Error
A valid request URL is required to generate request examples
{
  "results": [
    {
      "idempotencyKey": "<string>",
      "status": "CREATED",
      "accountPostId": "<string>",
      "error": {
        "code": "INVALID_PROJECT_ID",
        "message": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Minimum array length: 1
idempotencyKey
string
required

Client-provided item idempotency key.

Minimum string length: 1
projectId
string
required

Project identifier.

accountId
string
required

Connected publishing account identifier.

scheduledForUTC
string<date-time>
required

UTC time when this account post should be published.

title
string
description
string
firstComment
string
mediaIds
string[]

Media identifiers previously created via the external media upload flow.

platformSpecificData
object

Response

200 - application/json

Batch post creation results.

results
object[]
required

Results in the same order as the request items.