Base URL
Authentication
Every API call must include an active API key in theAuthorization header:
Response Format
All successful responses return HTTP status200 OK or 201 Created with a JSON payload. Deletions return 204 No Content.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Base URLs, authentication headers, pagination, and error response standards.
| Environment | Base URL |
|---|---|
| Production | https://api.wirebox.sh/api/v1 |
| Staging | https://staging-api.wirebox.sh/api/v1 |
Authorization header:
Authorization: Bearer wb_live_xxxxxxxxxxxxxxxxxxxxxxxx
200 OK or 201 Created with a JSON payload. Deletions return 204 No Content.
{
"error": {
"code": "invalid_request",
"message": "Detailed human-readable explanation of what went wrong."
}
}
| HTTP Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request | The request body or query parameter failed validation. |
| 401 | unauthorized | Missing or invalid API key. |
| 403 | forbidden | The API key does not have permission to access the requested resource. |
| 404 | not_found | The requested identity, thread, message, or webhook does not exist. |
| 409 | conflict | The handle is already claimed or resource already exists. |
| 429 | rate_limited | Rate limit exceeded. Back off and retry. |
| 500 | internal_error | Wirebox edge error. Check status or reach out to support. |