REST ClientFabriccXML Webhooks
list_addresses
list_addresses
List addresses associated with a cXML webhook resource.
Path parameters
cxml_webhook_idstringRequired
format: "uuid"Unique ID of a CXML Webhook.
Response
datalist of objectsRequired
linksobjectRequired
Response Example
Response
{"data": [{"id": "691af061-cd86-4893-a605-173f47afc4c2","name": "justice-league","display_name": "Justice League","cover_url": "https://coverurl.com","preview_url": "https://previewurl.com","locked": true,"channels": {"audio": "/external/resource_name?channel=audio"},"created_at": "2024-05-06T12:20:00Z","type": "app"}],"links": {"self": "https://example.signalwire.com/api/fabric/resources/cxml_webhooks/a87db7ed-8ebe-42e4-829f-8ba5a4152f54/addresses?page_number=0&page_size=50&type=cxml_webhook","first": "https://example.signalwire.com/api/fabric/resources/cxml_webhooks/a87db7ed-8ebe-42e4-829f-8ba5a4152f54/addresses?page_number=0&page_size=50&type=cxml_webhook","next": "https://example.signalwire.com/api/fabric/resources/cxml_webhooks/a87db7ed-8ebe-42e4-829f-8ba5a4152f54/addresses?page_number=1&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca&type=cxml_webhook","prev": "https://example.signalwire.com/api/fabric/resources/cxml_webhooks/a87db7ed-8ebe-42e4-829f-8ba5a4152f54/addresses?page_number=0&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca&type=cxml_webhook"}}
Example
from signalwire.rest import RestClientclient = RestClient(project="your-project-id",token="your-api-token",host="your-space.signalwire.com",)addresses = client.fabric.cxml_webhooks.list_addresses("webhook-id")for addr in addresses.get("data", []):print(f"{addr['display_name']}: {addr['id']}")