latestOpenAPI 3.0.02026-08-10416661.5 MB

e96b3e58b041

Messages

Get messages by contacts

REQUIRED SCOPES <code>['messages:read']</code><br>Returns an array of messages found by Contact ID and Inbox ID. If multiple Contact IDs are provided, this endpoint will search for group conversations with these IDs.

get/messages/contacts

Query parameters

contacts[]integer[] required

Contacts

team_idinteger

Team ID

limitinteger

The number of items to return per page.

beforeinteger

Before

Response

OK

idinteger
conversation_idinteger
automatedboolean
statusstring
typestring
mms_statusstring
bodystring
body_rawstring
has_taggingboolean
iconstring
received_atstring
send_atstring
queued_atstring
sent_atstring
delivered_atstring
failed_atstring
failed_reasonstring
created_atstring
stop_on_responseboolean
is_hipaaboolean
user_idinteger
source_idstring
sourcestring