Skip to main content

List messaging URL domains

GET 
/messaging_url_domains

List messaging URL domains

Request

Query Parameters

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page

Responses

200: Successful response with details about a messaging URL domain.

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/messaging_url_domains' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"record_type": "messaging_url_domain",
"id": "464bd54e-a328-4b11-a131-28e6793cb6f2",
"url_domain": "http://example.com",
"use_case": "test"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}