Error Handling
Learn how our API communicates errors. We use a consistent and predictable response format so you can easily troubleshoot issues.
Overview
We want your integration experience to be as smooth as possible. Whether a request succeeds or fails, you will always receive a clear, consistent response. If something goes wrong, our system automatically catches the issue and returns a helpful error message.
Standard Success Response
JSON
{
"isSuccess": true,
"data": { ... },
"message": "Operation completed successfully",
"error": null,
"errors": []
}Standard Error Response
JSON
{
"isSuccess": false,
"data": null,
"message": "",
"error": "Contact not found",
"errors": []
}Validation Errors (400)
JSON
{
"isSuccess": false,
"data": null,
"error": "Validation failed",
"errors": [
"Email is required",
"Password must be at least 8 characters"
]
}