Outstand Docs

Create a Post

Creates and publishes or schedules a post to one or more connected social accounts.

POST /api/public/v1/posts

Request Headers

HeaderRequiredValue
AuthorizationYesBearer YOUR_API_KEY
Content-TypeYesapplication/json

Request Body

ParameterTypeRequiredDescription
contentstringYesThe post text content
accountsstring[]YesArray of connected account IDs to post to (from List Accounts)
typestringNo"now" (default) or "schedule"
scheduledAtstringNoISO 8601 datetime. Required when type is "schedule".
mediaarrayNoArray of { url, filename? } objects. Get url from Upload Media.
pinterestBoardIdstringNoRequired when posting to a Pinterest account — the target board ID

Example Request — Publish Now

curl -X POST https://outstand.one/api/public/v1/posts \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "now",
    "content": "Excited to share our latest update! \ud83d\ude80",
    "accounts": ["account_id_1", "account_id_2"]
  }'

Example Request — Schedule for Later

curl -X POST https://outstand.one/api/public/v1/posts \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "schedule",
    "content": "Scheduled announcement",
    "accounts": ["account_id_1"],
    "scheduledAt": "2026-08-15T09:00:00Z",
    "media": [{ "url": "https://cdn.outstand.one/workspace-id/media/2026-08/abc123.jpg" }]
  }'

Response

{
  "success": true,
  "postId": "post_abc123",
  "message": "Post scheduled"
}

HTTP 201 on success. See Authentication for error responses (400, 401, 402, 502).

Create a Post — Outstand Docs