curl --request GET \
--url https://api.openphone.com/v1/contacts/{id} \
--header 'Authorization: <api-key>'{
"data": {
"id": "<string>",
"externalId": "664d0db69fcac7cf2e6ec",
"source": "public-api",
"sourceUrl": "https://openphone.co/contacts/664d0db69fcac7cf2e6ec",
"defaultFields": {
"company": "OpenPhone",
"emails": [
{
"name": "<string>",
"value": "[email protected]",
"id": "<string>"
}
],
"firstName": "John",
"lastName": "Doe",
"phoneNumbers": [
{
"name": "<string>",
"value": "+12345678901",
"id": "<string>"
}
],
"role": "Sales"
},
"customFields": [
{
"name": "<string>",
"type": "multi-select",
"value": [
"<string>"
],
"key": "<string>",
"id": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>"
}
}Retrieve detailed information about a specific contact in your OpenPhone workspace using the contact’s unique identifier.
curl --request GET \
--url https://api.openphone.com/v1/contacts/{id} \
--header 'Authorization: <api-key>'{
"data": {
"id": "<string>",
"externalId": "664d0db69fcac7cf2e6ec",
"source": "public-api",
"sourceUrl": "https://openphone.co/contacts/664d0db69fcac7cf2e6ec",
"defaultFields": {
"company": "OpenPhone",
"emails": [
{
"name": "<string>",
"value": "[email protected]",
"id": "<string>"
}
],
"firstName": "John",
"lastName": "Doe",
"phoneNumbers": [
{
"name": "<string>",
"value": "+12345678901",
"id": "<string>"
}
],
"role": "Sales"
},
"customFields": [
{
"name": "<string>",
"type": "multi-select",
"value": [
"<string>"
],
"key": "<string>",
"id": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>"
}
}Was this page helpful?