Search docs
Find a page, section or endpoint

API reference

Profiles

Look up, list and erase profiles.

Read customer profiles: find one by identifier or id, page through a workspace, or erase a customer. See Profiles for how profiles form.

Look up a profile#

GET /v1/tenants/{tenant}/workspaces/{ws}/profiles/lookup Workspace token

Finds the profile that holds an identifier. Returns 404 if no profile has it.

Query

type string
Identifier type, such as email or phone.
value string
Identifier value. It is normalised the same way as at ingestion, so any capitalisation of an email, or a phone number without +91, still matches.
bash
curl "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/workspaces/my-store/profiles/lookup?type=phone&value=9812345678" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"

The response is the profile view:

  • Metric values are strings so exact decimals survive. Time metrics are Unix seconds.
  • Identifier value is shown in plain text only for types your environment allows (typically email and phone). Otherwise it is null and only masked_value is returned.

Get a profile#

GET /v1/tenants/{tenant}/workspaces/{ws}/profiles/{profile_id} Workspace token

Returns the same profile view as Look up a profile, by id. Ids of merged-away profiles resolve to the surviving profile.

bash
curl "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/workspaces/my-store/profiles/60de1d6e-748f-87dc-ab33-bfbbaba9b299" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"

List profile summaries#

GET /v1/tenants/{tenant}/workspaces/{ws}/profiles/summary Workspace token

A customer table: one row per profile with contact details and order headline metrics. email and phone are plain text only for types your environment allows, otherwise masked.

Query

limit number
Page size: 25 by default, up to 200.
cursor string
next_cursor from the previous page.
profile_type string
Only profiles of this type, such as customer.
bash
curl "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/workspaces/my-store/profiles/summary?limit=50" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"

List profiles#

GET /v1/tenants/{tenant}/workspaces/{ws}/profiles Workspace token

Profiles with their display identifiers.

Query

limit number
Page size, up to 200.
cursor string
next_cursor from the previous page.
profile_type string
Only profiles of this type, such as customer.
bash
curl "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/workspaces/my-store/profiles?limit=50" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"

Get profile segments#

GET /v1/tenants/{tenant}/workspaces/{ws}/profiles/{profile_id}/segments Workspace token

Just the profile's segment memberships, with display names.

bash
curl "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/workspaces/my-store/profiles/60de1d6e-748f-87dc-ab33-bfbbaba9b299/segments" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"

Erase a profile#

DELETE /v1/tenants/{tenant}/workspaces/{ws}/profiles/{profile_id} Tenant token

Permanently erases a customer, for example for a GDPR request: the profile and everything merged into it, every identifier, metric, segment membership and history entry.

bash
curl -X DELETE "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/workspaces/my-store/profiles/9dc94bd5-31f3-855c-945b-d66a759f5c78" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"