Authentication
The Woes REST API uses workspace API keys. Create a key in Settings → Keys, copy the full secret once, and store it in your server-side secret manager.Bearer Token
Pass the key in theAuthorization header.
Quick API Examples
These examples use the Conversations API because it is the first public Woes API surface. The API key must be a workspace API key that starts withwoesk_.
List conversations
Create a conversation
Add a message
Security Rules
- Keep
woesk_keys on your backend. - Do not put REST API keys in widget snippets or client-side JavaScript.
- Revoke keys from Settings → Keys when rotating credentials.
- Each key is workspace-scoped; it cannot read or write another workspace.
Error Responses
| Status | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing, unknown, or revoked API key. |
401 | key_expired | API key has expired. |
429 | rate_limited | Too many requests for the key. |
500 | internal_error | The API request could not be completed. |
