| name | telnyx-fax-python |
| description | Send and receive faxes programmatically. Manage fax applications and media. This skill provides Python SDK examples. |
| metadata | {"author":"telnyx","product":"fax","language":"python","generated_by":"telnyx-ext-skills-generator"} |
Telnyx Fax - Python
Installation
pip install telnyx
Setup
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"),
)
All examples below assume client is already initialized as shown above.
List all Fax Applications
This endpoint returns a list of your Fax Applications inside the 'data' attribute of the response.
GET /fax_applications
page = client.fax_applications.list()
page = page.data[0]
print(page.id)
Creates a Fax Application
Creates a new Fax Application based on the parameters sent in the request.
POST /fax_applications — Required: application_name, webhook_event_url
fax_application = client.fax_applications.create(
application_name=,
webhook_event_url=,
)
(fax_application.data)