Get a contact
Get the specified contact given its ID.
Your workspace identifier.
b4e02c85-c6d2-4b15-8885-e09671799c61
The ID of a contact.
b4e02c85-c6d2-4b15-8885-e09671799c61
The set of attribute keys to return for the contact besides all non-empty attributes.
["age","company"]
Get the contact successfully.
The contact or workspace was not found.
The request is invalid. The response should include details about the what is wrong with the request.
GET /workspaces/{workspaceId}/contacts/{contactId} HTTP/1.1
Host: api.bird.com
Authorization: Bearer JWT
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"computedDisplayName": "John Doe",
"createdAt": "2025-08-12T22:47:18.061Z",
"updatedAt": "2025-08-12T22:47:18.061Z",
"workspaceId": "123e4567-e89b-12d3-a456-426614174000",
"featuredIdentifiers": [
{
"key": "emailaddress",
"value": "[email protected]"
}
],
"attributes": {
"firstName": "John",
"lastName": "Smith",
"rating": 9.6,
"cookiesAccepted": false,
"labels": [
"A",
"B",
"C"
]
},
"identifierCount": 2,
"accountIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"listIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
Examples
Let's establish some of our data that will be used in the following examples:
Workspace ID: a1405560-c8d3-4b1a-877d-3f449ad95352
AccessKey: abcd
Contact ID: 12bd0e40-9361-4e32-8b26-99b4ab7eae09
Get a contact without specifying attributes
In this example, we're fetching the contact without specifying the attributes. To know more about attributes, please refer to this documentation.
curl -X GET "https://api.bird.com/workspaces/7d73f762-e08f-4e1f-a6fd-4d69d8cf119f/contacts/12bd0e40-9361-4e32-8b26-99b4ab7eae09" \
-H "Content-Type: application/json" \
-H "Authorization: AccessKey abcde" \
Get a contact specifying attributes
In this example, we are fetching the contact specifying the attributes. To know more about attributes, please refer to this documentation.
curl -X GET "https://api.bird.com/workspaces/7d73f762-e08f-4e1f-a6fd-4d69d8cf119f/contacts/12bd0e40-9361-4e32-8b26-99b4ab7eae09?attribute=countryCode" \
-H "Content-Type: application/json" \
-H "Authorization: AccessKey abcde" \
Last updated
Was this helpful?