Last updated 4 months ago
Was this helpful?
Let's establish some of our data that will be used in the following examples:
Workspace ID: a1405560-c8d3-4b1a-877d-3f449ad95352
AccessKey: abcd
List ID: 123e4567-e89b-12d3-a456-426614174000
In this example, we are fetching the list given its ID.
curl -X GET "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/lists/123e4567-e89b-12d3-a456-426614174000" \ -H "Content-Type: application/json" \ -H "Authorization: AccessKey abcd"
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "US Customers", "description": "US Customers", "contactCount": 0, "tags": [ "123e4567-e89b-12d3-a456-426614174000" ], "isProof": false, "consentType": "single", "createdAt": "2024-11-26T15:00:00.000Z", "updatedAt": "2024-11-26T15:00:00.000Z" }
Get the specified list given its ID.
Your workspace identifier.
b4e02c85-c6d2-4b15-8885-e09671799c61
The ID of a list.
curl -L \ --url 'https://api.bird.com/workspaces/{workspaceId}/lists/{listId}' \ --header 'Authorization: Bearer JWT'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "US Customers", "description": "A list of all US customers", "createdAt": "2025-03-28T18:55:39.812Z", "updatedAt": "2025-03-28T18:55:39.812Z", "contactCount": 100, "consentType": "single", "tags": [ "123e4567-e89b-12d3-a456-426614174000" ], "isProof": true, "counter": { "count": 1, "updatedAt": "2025-03-28T18:55:39.812Z" } }