List and filter SMS messages
GET
/api/v1/messagesBearer key, test or live
Parameters
limitintegerquerycursorstringquerystatusstringqueryOne or more statuses, separated by commas.
directionstringqueryOne of: inbound, outbound
tostringqueryfromstringqueryclient_referencestringquerycreated_afterstring · date-timequerycreated_beforestring · date-timequeryResponses
200A stable cursor page of messages, newest first.curl -X GET 'https://staging.useline.io/api/v1/messages' \ -H "Authorization: Bearer $LINE_API_KEY"