Zoho Assist uses HTTP status codes to indicate success or failure of an API call. In general, status codes in the 2xx range means success, 4xx range means there was an error in the provided information, and those in the 5xx range indicate server side errors. Commonly used HTTP status codes are listed below.

HTTP Status Codes

Status CodeDescription
200OK
201 Created
400Bad request
401 Unauthorized (Invalid AuthToken)
404URL not found
405Method not allowed (Method you have called is not supported for the invoked API)
429Rate limit exceeded (API usage limit exceeded)
500Internal error

 

Copied$ curl --location --request GET 'https://assist.zoho.com/api/v2/user' \
--header 'Authorization: Zoho-oauthtoken {access_token}'
Copied{
        "error": {
                code:1009,
                message: "error message"    
            }
    }