Attach attributes (for example the signed-in user's id, name and email) to a visitor.
Changed onThe top-level keys of custom_data are merged into what is already stored; a key set to null is removed. A deployed app can call this with its injected deployment token (permission visitors:enrich), using the sealed enc_… value of the _temps_visitor_id cookie, for visitors of its own project only.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
Visitor ID - can be numeric ID, GUID, or encrypted GUID (enc_xxx). Deployment tokens (visitors:enrich) may only use the encrypted GUID and only for visitors of their own project.
Request body
Response
Enrichment result. success: false means the visitor was not found (or is not in the caller's project) and nothing was changed.
Changes
- warning
deleted the
queryrequest parameterproject_id - info
added the non-success response with the status
- info
added the non-success response with the status
1 more change in this revision
- warning