Get messages in a conversation

Returns individual SMS messages in a conversation between a line and a phone number. Supports cursor-based pagination.

Authentication

AuthorizationBearer

Send as Authorization: Bearer <your-key>. Obtain keys from the portal — prefix sk_live_ for production, sk_test_ for sandbox.

Path parameters

lineIdstringRequiredformat: "uuid"
Line ID
phoneNumberstringRequired
E.164 phone number of the other party

Query parameters

limitintegerOptional1-100Defaults to 50

Maximum number of results (1-100)

cursordatetimeOptional
ISO 8601 timestamp cursor for pagination

Response

List of messages
messageslist of objects
has_moreboolean
next_cursordatetime or null

Errors

401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error