Contacts
Get Contact by ID
API Documentation
Endpoint Examples
Phone Numbers
Campaigns
Webhooks
Contacts
Get Contact by ID
Returns a single contact based on the ID supplied
GET
/
contact
/
{id}
curl --request GET \
--url http://sandbox.mintlify.com/contact/{id} \
--header 'Authorization: Bearer <token>'
{
"status": "ok",
"message": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstname": "<string>",
"lastname": "<string>",
"phone_number": "<string>",
"metadata": {},
"number_country_code": "<string>",
"last_call_status": "<string>",
"last_call_at": "2023-11-07T05:31:56Z",
"last_call_duration": 123,
"last_call_feedback": "<string>",
"source_name": "<string>",
"tag_name": "<string>",
"category_name": "<string>",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of contact to fetch
Response
200 - application/json
Contact response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url http://sandbox.mintlify.com/contact/{id} \
--header 'Authorization: Bearer <token>'
{
"status": "ok",
"message": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstname": "<string>",
"lastname": "<string>",
"phone_number": "<string>",
"metadata": {},
"number_country_code": "<string>",
"last_call_status": "<string>",
"last_call_at": "2023-11-07T05:31:56Z",
"last_call_duration": 123,
"last_call_feedback": "<string>",
"source_name": "<string>",
"tag_name": "<string>",
"category_name": "<string>",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>"
}
}