HappHapp Docs
Messages

Get last message for each chat

GET
/api/messages/last

Returns the most recent message for each of the specified chat IDs

Authorization

access-token
X-Access-Token<token>

Enter your Access Token (format: happ_...)

In: header

Query Parameters

chatIds*string

Comma-separated list of chat UUIDs

Response Body

curl -X GET "https://example.com/api/messages/last?chatIds=123e4567-e89b-12d3-a456-426614174000%2C223e4567-e89b-12d3-a456-426614174001"
Empty
Empty