Please note that all endpoints have similar error responses. Any endpoint that doesn’t follow the pattern shown on this page will contain the error response on it’s own page.
API Documentation
Response Formats
OneNumber API response formats
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
OneNumber API response formats
{
"statusCode": 201,
"message": "Request processed successfully.",
"data": "Custom data, depending on the endpoint"
}
{
"statusCode": 200,
"message": "Request processed successfully."
}
{
"statusCode": 300,
"message": "Custom message containing the error details."
}
{
"statusCode": 301,
"message": "Validation errors (or custom description)",
"errors": "An array of the fields with the validation errors."
}
{
"statusCode": 404,
"message": "Custom message containing the error details."
}
