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
lineId
Line ID
phoneNumber
E.164 phone number of the other party
Query parameters
limit
Maximum number of results (1-100)
cursor
ISO 8601 timestamp cursor for pagination
Response
List of messages
messages
has_more
next_cursor
Errors
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
