Chat APIs
Get Chat By ID
This endpoint retrieves a specific chat from its chat_id
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header
Path Parameters
- The unique id of the chat
- For individual chats, this would be the country_code + number (e.g., 918527184400), followed by @c.us
- For groups, this would end with @g.us
Response
200 - application/json
The response is a chat object. Refer to the chat object here
Was this page helpful?