cURL
curl --request GET \ --url https://api.trillet.ai/v1/api/twilio/user-phone-numbers \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "phoneNumbers": [ { "_id": "665a1b2c3d4e5f6a7b8c9d0e", "phoneNumber": "+14155551234", "provider": "twilio", "country": "US", "type": "local", "status": "active", "workspaceId": "664a1b2c3d4e5f6a7b8c9d0e", "label": "Sales Line" } ] }
Retrieve all phone numbers associated with your workspace.