Skip to main content
GET
/
v1
/
lines
List lines
curl --request GET \
  --url https://api.messages.dev/v1/lines \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "handle": "<string>",
      "label": "<string>",
      "service": "imessage",
      "is_active": true
    }
  ],
  "has_more": true,
  "next_cursor": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Use an API key as a bearer token: Authorization: Bearer sk_live_...

Response

List of lines

data
object[]
has_more
boolean

Whether more items exist beyond this page

next_cursor
string | null

Cursor to pass as cursor query parameter for the next page

request_id
string