Skip to main content
GET
/
messaging_url_domains
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const messagingURLDomains = await client.messagingURLDomains.list();

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
object

Consolidated page parameter (deepObject style). Originally: page[number], page[size]

Response

Successful response with details about a messaging URL domain.

data
object[]
meta
object