Version: 1.0.0
WriteMars API
WriteMars's public REST API. Authenticate with a personal access token via the X-API-Key header (or Authorization: Bearer writemars_pat_...). Create tokens under Profile → API Tokens. List endpoints return bare arrays by default. Posts and post activity can opt into a counted pagination envelope; Skills uses bounded bare-array limit/offset paging. See each operation for its response shape. Token requests are rate limited (429 + Retry-After).
Authentication
- API Key: apiToken
- HTTP: Bearer Auth
Personal access token (writemars_pat_...). Create one under Profile → API Tokens.
Security Scheme Type: | apiKey |
|---|---|
Header parameter name: | X-API-Key |
Short-lived session token issued by the /auth/ sign-in flows.
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |