Skip to content

Get Profile

GET /cdp/profiles/{id} — fetch a single profile by id, bound to your shop scope.

GET /cdp/profiles/{id}
Authorization: Bearer vyg_…
ParamTypeDescription
idstringThe profile itemId.
{
"profile": {
"itemId": "shopify_your-shop_1234",
"properties": {},
"provenance": "server"
},
"identity": {},
"scope": "your-shop.myshopify.com"
}
FieldTypeDescription
profileobjectThe profile, carrying a required provenance label (server | pixel | merged).
identityobjectIdentity derived from the profile.
scopestringYour brand’s connected shop domain.
Terminal window
curl -s "https://cdp.vyg.app/cdp/profiles/shopify_your-shop_1234" \
-H "Authorization: Bearer vyg_your_key_here"
StatusWhen
400Missing profile id.
401Missing or invalid credential.
403No connected shop resolves a scope.
404Profile not found or out of scope — indistinguishable by design, so a brand cannot probe for another brand’s ids.
405Non-GET method.
{
"error": "not_found",
"error_description": "Profile not found"
}

See Tenant Isolation & Scope for why out-of-scope ids return 404.