API referenceActivity
POST /workspaces/{workspaceId}/identify
Traits are restricted to the keys the entity lists under profile in the active spec and are validated by their dictionary type. Personal traits are masked on read unless the reader is an owner/admin or holds profiles:read. Use it as group() by identifying whatever entity represents organisations.
Path Parameters
workspaceId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/workspaces/string/identify" \ -H "Content-Type: application/json" \ -d '{ "entity": "string", "id": "string", "traits": { "property1": null, "property2": null } }'{ "$schema": "https://example.com/schemas/IdentifyOutputBody.json", "dropped": [ "string" ], "profile": { "entity": "string", "id": "string", "masked": [ "string" ], "traits": { "property1": null, "property2": null }, "updatedAt": "2019-08-24T14:15:22Z" }}entity*string
Entity type declared in the active spec
Length
1 <= length <= 120id*string
Opaque entity identifier, the same value sent in refs
Length
1 <= length <= 160traits*
Keys from the entity's profile list; null deletes a trait