PHP SDK getting started
Initialize the Telnyx PHP client and make your first API request.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check out our upcoming events and meetups! View events →
Initialize the Telnyx PHP client and make your first API request.
\Telnyx\Telnyx::setApiKey('YOUR_API_KEY_HERE');
// Get a list of messaging profiles
$result = \Telnyx\MessagingProfile::all();
// Output list of messaging profiles
print_r($result);
Was this page helpful?