Sinatra Docs
API ReferenceSubscriptions

List your subscriptions

Acts only on your own subscriptions in this workspace, not another member's.

Use a personal API token or an OAuth access token issued for the REST API; MCP-audience tokens are rejected. Lists Codex, Claude, xAI and Cursor connections including reconnect status. Primary selection is per provider.

GET/v1/workspaces/{workspaceId}/subscriptions
AuthorizationBearer <token>

A personal access token, which starts with sntr_. Create one on the dashboard's CLI & API page (https://app.sinatra.dev/tokens). It acts as you in every workspace you belong to, with your role in each, and expires after at most 365 days. The CLI's browser sign-in sends an OAuth access token here instead.

In: header

Path Parameters

workspaceIdstring

The workspace's id, from GET /v1/me.

Response Body

curl -X GET "https://api.sinatra.dev/v1/workspaces/string/subscriptions"
{
  "connections": [
    {
      "id": "string",
      "provider": "codex",
      "email": "string",
      "label": "string",
      "primary": true,
      "needsReconnect": true,
      "connected": true,
      "createdAt": "string",
      "chatgptAccountId": "string",
      "anthropicAccountId": "string",
      "xaiAccountId": "string"
    }
  ]
}
{
  "error": "string",
  "reason": "string",
  "requestId": "string",
  "refusal": "string",
  "billingUrl": "string",
  "settingsUrl": "string",
  "plan": "string",
  "running": 0,
  "queued": 0,
  "taskId": "string",
  "messageId": "string"
}
{
  "error": "string",
  "reason": "string",
  "requestId": "string",
  "refusal": "string",
  "billingUrl": "string",
  "settingsUrl": "string",
  "plan": "string",
  "running": 0,
  "queued": 0,
  "taskId": "string",
  "messageId": "string"
}
{
  "error": "string",
  "reason": "string",
  "requestId": "string",
  "refusal": "string",
  "billingUrl": "string",
  "settingsUrl": "string",
  "plan": "string",
  "running": 0,
  "queued": 0,
  "taskId": "string",
  "messageId": "string"
}
{
  "error": "string",
  "reason": "string",
  "requestId": "string",
  "refusal": "string",
  "billingUrl": "string",
  "settingsUrl": "string",
  "plan": "string",
  "running": 0,
  "queued": 0,
  "taskId": "string",
  "messageId": "string"
}