Skip to content

Create a draft post

Publishing
post /v1/publishing/posts/create

Create a draft. Use the same request ID and fields to retry an uncertain result. The complete JSON input must fit 24 KiB after UTF-8 encoding. Post body and part text each allow up to 30,000 characters. This operation uses no credits.

Authentication

  • MemberBearer bearer token

    Send an AuthKit member OAuth access token in the Authorization header. The audience is the existing MCP resource URL.

Request body

  • title string required
  • socialSetId Unsupported schema shape optional
  • selectedAccountIds array<string · uuid> optional

    Use unique account IDs. On create, omit this field to use set defaults. Send an empty array to select no accounts.

  • assigneeId Unsupported schema shape optional
  • format Unsupported schema shape optional
  • attachmentIds array<string · uuid> optional

    Keep the attachment order. Use at most 20 attachments for an Instagram carousel and 10 for other posts. A post can use at most 100 distinct assets.

  • body string required
  • destinations array<PublishingPostDestinationInput> required

    Use unique destination IDs. Keep the array order.

  • requestId string · uuid required

Responses

  • 200

    The draft post with its server-assigned ID and revision. This operation uses no credits.

  • 400

    The request failed validation.

  • 401

    The bearer credential is missing or invalid.

  • 403

    The operation requires member access and Posts access.

  • 404

    The resource was not found.

  • 409

    The draft revision or state conflicts with the command.

  • 429

    The Cloudflare rate limiter rejected the request.

  • 500

    The request failed without exposing internal diagnostics.

  • 503

    A required service is unavailable.