REST ClientFabricRelay Applications
list
List Relay application resources in the project.
Response
datalist of objectsRequired
An array of objects that contain a list of Relay Application data
linksobjectRequired
Object containing pagination links
Response Example
Response
{"data": [{"id": "993ed018-9e79-4e50-b97b-984bd5534095","project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780","display_name": "Customer Service Bot","type": "relay_application","created_at": "2024-05-06T12:20:00Z","updated_at": "2024-05-06T12:20:00Z","relay_application": {"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6","name": "Booking Assistant","topic": "booking","call_status_callback_url": "https://example.com/callbacks"}}],"links": {"self": "https://example.signalwire.com/api/fabric/resources/relay_applications/a87db7ed-8ebe-42e4-829f-8ba5a4152f54/addresses?page_number=0&page_size=50&type=relay_application","first": "https://example.signalwire.com/api/fabric/resources/relay_applications/a87db7ed-8ebe-42e4-829f-8ba5a4152f54/addresses?page_number=0&page_size=50&type=relay_application","next": "https://example.signalwire.com/api/fabric/resources/relay_applications/a87db7ed-8ebe-42e4-829f-8ba5a4152f54/addresses?page_number=1&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca&type=relay_application","prev": "https://example.signalwire.com/api/fabric/resources/relay_applications/a87db7ed-8ebe-42e4-829f-8ba5a4152f54/addresses?page_number=0&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca&type=relay_application"}}
Example
from signalwire.rest import RestClientclient = RestClient(project="your-project-id",token="your-api-token",host="your-space.signalwire.com",)response = client.fabric.relay_applications.list()for item in response.get("data", []):print(f"{item['display_name']}: {item['id']}")