Documentation Index
Fetch the complete documentation index at: https://docs.aui.io/llms.txt
Use this file to discover all available pages before exploring further.
v1
The Messaging API uses standard HTTP status codes and returns consistent error objects across all endpoints.
Error Response Format
Authentication Error (401)
Returned when thex-network-api-key header is missing or invalid.
Validation Error (422)
Returned when required fields are missing or request parameters are invalid.List of validation error objects.
Application Error (400)
Returned for application-level errors such as content moderation. May include dynamicextra_data with contextual information.
HTTP status code.
Short error description.
Detailed error message.
Dynamic contextual data specific to the error. Structure varies by error type.
Server Error (5xx)
Returned for internal server errors. The response follows the same format as application errors:Error Codes
| Status | Description |
|---|---|
400 | Application error — may include extra_data with moderation or processing details |
401 | Missing or invalid x-network-api-key header |
422 | Validation error — invalid or missing request parameters |
500 | Internal server error |
WebSocket Errors
WebSocket connections use close codes instead of HTTP status codes:| Close Code | Meaning |
|---|---|
1008 | Authentication failure or policy violation |
1011 | Internal server error |
