curl --request GET \
--url https://app.closerx.ai/api/twilio/contact/ \
--header 'Company-Name: <company-name>' \
--header 'api_key: <api-key>'{
"success": true,
"message": "contact data",
"data": [
{
"pk": 60,
"phone_number": "<string>",
"nickname": "test",
"source_of_origin": null,
"phone_number_sid": null,
"verification_status": null,
"in_used_by_agent": "none"
}
]
}Retrieves a list of Twilio contact numbers with additional metadata such as nickname and status.
curl --request GET \
--url https://app.closerx.ai/api/twilio/contact/ \
--header 'Company-Name: <company-name>' \
--header 'api_key: <api-key>'{
"success": true,
"message": "contact data",
"data": [
{
"pk": 60,
"phone_number": "<string>",
"nickname": "test",
"source_of_origin": null,
"phone_number_sid": null,
"verification_status": null,
"in_used_by_agent": "none"
}
]
}Schema name for multi-tenancy
Twilio contact numbers retrieved successfully
true
"contact data"
List of Twilio contact numbers
Show child attributes
Primary key or unique ID of the contact
60
The Twilio phone number
A friendly name or label for the number
"test"
Where the contact originated from
null
The Twilio SID associated with the number
null
Verification status of the number
null
Agent currently using this number (if any)
"none"