Conventions

Shapes are predictable across the surface.

IDs

UUIDs like bbdeeb40-c106-4ed6-95b5-c0e76086c957. Treat them as opaque: don't parse, don't pattern-match.

Timestamps

ISO 8601 with timezone, always UTC for server-set values: 2026-06-07T13:30:00Z. Client-supplied timestamps (e.g. scheduled_for) accept any ISO 8601 string; we'll normalize to UTC on read.

Field naming

Everything is snake_case. Both request bodies and response shapes.

Pagination

Every list endpoint is cursor-paginated and ordered by created_at descending. The response includes a pagination.next_cursor field; pass it back as ?cursor=... on the next call. When there's no more data, it returns null.

# first page
curl -H "Authorization: Bearer $TOKEN" \
  "https://api.shortsync.app/v1/posts?limit=25"

# response
{
  "data": [ /* 25 posts */ ],
  "pagination": { "next_cursor": "MjAyNi0wNi0wN1QxMzozMDowMFp8YWJjZGVm" }
}

# next page
curl -H "Authorization: Bearer $TOKEN" \
  "https://api.shortsync.app/v1/posts?limit=25&cursor=MjAyNi0wNi0wN1QxMzozMDowMFp8YWJjZGVm"

Default limit is 25, max is 100.

Status changes: webhooks

You don't need to poll GET /posts/{id} to find out when a post goes live. Subscribe a webhook and ShortSync sends a signed POST request when a post is published, fails or is scheduled.

v1 limitations

These are intentional gaps in v1 that will close in later releases without breaking the published shape. The spec already documents the eventual contract, so clients written today keep working when the gaps close.

  • Upload.status only transitions between reserved and ready; the transitional uploaded / failed states are reserved for future use. For image uploads, Upload.media.* fields other than content_kind come back null; videos are probed server-side at finalize.
  • Idempotency-Key is honored on POST /posts, POST /uploads/carousel-group and POST /repurposing/workflows with a 24-hour TTL. Not accepted on POST /uploads because the response carries a time-limited presigned URL we don't re-issue. Call the endpoint again and PUT to the new URL.
  • Connection.last_used_at is always null. No DB column tracks per-connection usage yet.

Not a v1 limitation, just worth noting: per-key rate limits (60 requests/minute) and monthly plan-tier quotas are live now. See the Errors page for the response shape and the headers you get back on 429. Posts are also subject to a daily posting limit per platform for each workspace, the same as in the app, and unlimited uploads fall under our fair use policy.

Request IDs

Every request is correlated with a request id. You can supply one in the X-Request-ID request header (e.g. a UUID your client generates); if you don't, we mint one. The id is echoed back on every response as the X-Request-ID response header, attached to every log line we emit while processing the request, and indexed by our log aggregator.

Practical use: log the response header in your client. When you open a support ticket about a bad response, paste the id. We can pull the exact request from our logs without having to ask for timestamps or payload reconstruction.

# you supply one
curl -H "Authorization: Bearer $TOKEN" \
  -H "X-Request-ID: $(uuidgen)" \
  https://api.shortsync.app/v1/posts

# we mint one (read it from the response headers)
curl -i -H "Authorization: Bearer $TOKEN" \
  https://api.shortsync.app/v1/me \
  | grep -i '^x-request-id:'

See the resource pages for the full shape of every endpoint.