Engati APIs allow you to integrate with the platform and create useful functionality around the platform.
The APIs are REST-based using JSON as the standard response type.
API Keys need to be added to the Authorization header as follows –
Authorization : Basic <Authorization Key>
- The API Keys can be generated by going to Engati API section.
- Engati APIs follow basic authentication utilizing API Keys to authenticate the API calls.
- The API Keys can be revoked or regenerated at any point in time and would throw authentication errors for the API calls made using them.
An API to fetch users who match the value specified for the attribute. Example : To get list of users who have feedback with 1 star.
List of required parameters for this API call
The name of the attribute associated with the user
The value of the attribute associated with the user
An API to fetch a user conversation via user id
Example : To store conversation data in CRM.
Parameters you can pass to filter the API response
userId [Path parameter]
The user identifier. Retrieved from users list API
Start Date (UTC time in milliseconds), If blank, all records will be considered.
End Date (UTC time in milliseconds), If blank, the current UTC time will be considered.
The number of pages for which the data should be displayed. By default, the first page will be shown.
Total number of records to be shown in the API call, the default value is set to 500
Whatsapp Template Broadcasting
For template broadcasting to bulk users on Whatsapp. Note : Only Templates can be sent to users as per Whatsapp Policy beyond the time limts.
To enable and use Broadcast Wrapper API please contact firstname.lastname@example.org.
For all channels including Whatsapp with users within time limit.
For broadcast a simple text message or interactive messages to bulk users. Example : Marketing & Advertisments, Survey and Promotion.
Learn more about Broadcasts in depth via Broadcast document.
Broadcast will be published based on the time mentioned in UTC,
Immediate broadcasts will be sent for expired time. Multiple Numbers in list Format
To trigger automations build on Engati Platform for external usecases. Example : Sending an email to a customer who fills an external website form.
Learn more about Broadcasts in depth via API Trigger document.
Error codes you might get while making the API call.
Error Code: 1002,Error Message: INVALID_BOT_OR_CUSTOMER_ID,Error Details: The bot id/customer id/user id provided is invalid Error Code: 1003, Error Message: INVALID_INPUT_DATE_VALUE, Error Details: The start_date and end_date values are the time in milliseconds and the end_date should be greater than start_date. Error Code: 1004, Error Message: INVALID_PAGE_NUMBER, Error Details: Please enter the correct page number. The page number in the API is a positive integer value starting with 1.
Server-side API failure