LineDevelopers

List and filter SMS messages

GET/api/v1/messages
Bearer key, test or live

Parameters

limitintegerquery
cursorstringquery
statusstringquery

One or more statuses, separated by commas.

directionstringquery

One of: inbound, outbound

tostringquery
fromstringquery
client_referencestringquery
created_afterstring · date-timequery
created_beforestring · date-timequery

Responses

200A stable cursor page of messages, newest first.
Plus 400, 401, 403, 429, 503. See Errors.
curl -X GET 'https://staging.useline.io/api/v1/messages' \
  -H "Authorization: Bearer $LINE_API_KEY"