← Docsneeds PostWard account

REST API

Everything the Studio and MCP can do, as an authenticated JSON API.

Base URL /api/v1 with session auth and the x-postward-workspace header. OpenAPI description at /api/v1/openapi. Idempotency-Key support on consequential mutations.

List campaigns

curl https://postward.cc/api/v1/campaigns \
  -H 'x-postward-workspace: my-workspace' \
  --cookie 'your-session'