Base URL
The TryPost API is available at:APP_URL followed by /api (e.g., https://trypost.yourdomain.com/api).
Authentication
All API requests require a Bearer token in theAuthorization header. You can create API keys (Personal Access Tokens) from Settings → API Keys or via the POST /api-keys endpoint.
Workspace scoping
Every API key is bound to a specific workspace at creation time. All requests act on that workspace — you cannot list or modify resources from other workspaces with the same key. To work with multiple workspaces, create one API key per workspace. API keys authenticate the REST API only. The MCP server uses OAuth (mcp:use), not Personal Access Tokens.
Rate limiting
API requests are throttled to prevent abuse. When you exceed the limit, the API returns a429 status code with a Retry-After header indicating how many seconds to wait.
Errors
The API uses conventional HTTP status codes. All error responses include amessage field.
Response shape
Resources are returned unwrapped — nodata: envelope. A single resource looks like:
data: are the paginated lists: GET /posts, GET /assets, and GET /webhooks/{id}/logs.
Pagination
Two list endpoints paginate. Both use Laravel’s standard pagination envelope (data, links, meta) and the page query parameter:
Example envelope for posts:
page query parameter to navigate. Other list endpoints (signatures, labels, social accounts, API keys, webhooks) return all items without pagination, as a plain array.

