LiveRecoverVYG Developer Docs
CDP REST APIAPI Reference

Get Profile

Fetch a single customer profile by id, scoped to your shop.

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

Request

GET /cdp/profiles/{id}
Authorization: Bearer vyg_…

Path parameters

ParamTypeDescription
idstringThe profile itemId.

Response 200

{
	"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.

Example

curl -s "https://cdp.vyg.app/cdp/profiles/shopify_your-shop_1234" \
  -H "Authorization: Bearer vyg_your_key_here"

Errors

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.

On this page