Skip to main content
The official telnyx/telnyx-php package provides a PHP client generated from the same OpenAPI definition as the API reference.

Requests, types, and pagination

Value objects, file uploads, and pagination.

Resource map

Search every SDK resource and method and open the matching REST endpoint.

Errors, retries, and timeouts

Handle structured errors and configure retry and timeout behavior.

Webhooks

Verify ED25519 signatures and process webhook events.

Advanced usage

Configure language-specific logging, transport, raw responses, and custom requests.

Install

Requirements

PHP 8.1.0 or higher.

Initialize the client and make a request

Quickstart from the current SDK source, using TELNYX_API_KEY for authentication:

Usage

This library uses named parameters to specify optional arguments. Parameters with a default value must be set by name.

Source and releases

SDK releases can follow REST API changes at different times. Check the package registry for the current version and use the resource map to confirm method availability.