GET
/v1/identity/{identity_id}Get identity profile
Returns identifiers, traits, consent state, and last seen source for a profile.
Authentication
Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
identity_id | string | Yes | Identity or user identifier. |
Response schema · 200
{
"identity_id": "idn_123",
"user_id": "u_123",
"traits": {
"email": "buyer@example.com"
}
}Response example
{
"identity_id": "idn_123",
"user_id": "u_123",
"traits": {
"email": "buyer@example.com"
}
}Code examples
curl https://api.tracklayer.com/v1/identity/idn_123 \
-H "Authorization: Bearer ${API_KEY}"Try it out
Use the dashboard to create an API key, then run one of the examples above with TRACKLAYER_API_KEY set in your environment.