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

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

const logMessages = await client.externalConnections.logMessages.list();

console.log(logMessages.log_messages);
{
  "log_messages": [
    {
      "code": "10015",
      "title": "Invalid attribute",
      "detail": "The value provided for the attribute is not valid. Check the value used and try again.",
      "source": {
        "pointer": "/attribute"
      },
      "meta": {
        "telephone_number": "+12345678",
        "external_connection_id": "1293384261075731499",
        "ticket_id": "542c3bca-d247-42bc-8fe7-e01d16ecd761"
      }
    }
  ],
  "meta": {
    "total_pages": 3,
    "total_results": 55,
    "page_number": 2,
    "page_size": 25
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

filter
object

Filter parameter for log messages (deepObject style). Supports filtering by external_connection_id and telephone_number with eq/contains operations.

page
object

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

Response

Successful response

log_messages
object[]
meta
Pagination Meta · object