WATI uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). Codes in the 5xx range indicate an error with WATI servers (these are rare).

HTTP CodeDescription
200Everything worked as expected.
401No valid API key provided.
403The API key doesn't have permissions to perform the request.
404The requested resource doesn't exist.
405Please see if you are using the correct request method POST vs GET. Many of our APIs are POST requests.
500Something went wrong on WATI's end. (These are rare.)

If you call certain endpoints too frequently, you may run into the rate limit or see the error 429. Below are some rate limits that you may face, depending on your use case.

EndpointGrowth PlanProfessional PlanBusiness PlanNote
/addContact10 / 10 sec10 / 10 sec10 / 10 secYou don't have to add contacts before sending your first message, the new contact is added to Wati automatically
/getMessages10 / 10 sec10 / 10 sec10 / 10 secWe recommend using a webhook to receive incoming messages instead
/sendTemplateMessage30 / 10 sec60 / 10 sec100 / 10 secIf you are sending the same template to multiple contact at once, we recommend using /sendTemplateMessages.
/sendTemplateMessages30 / 10 sec60 / 10 sec100 / 10 secYou can add up to 1000 contacts in 1 call.

For higher limits, please reach out to us about your use case!

*These limits refer to how quickly your application can call WATI APIs, message requests are then processed in a queue.