Client Identifier | Baack docs
Client Identifier
Endpoints
CreatePOST/n/v1/clientidentifier/
Client identifiers (deduplication keys) are used to store domain scoped IDs associated with an identity. These can be used to support linking an identity across multiple systems.
Baack allocates the URN and returns it in the response.
Request body: Client Identifier
Responses
- 201 Created
- returns Client Identifier
CREATE_SUCCESS - 400 Bad request
- returns Error
INVALID_REPRESENTATION
ReadGET/n/v1/clientidentifier/{urn}
Client identifiers (deduplication keys) are used to store domain scoped IDs associated with an identity. These can be used to support linking an identity across multiple systems.
Notes
- As with other identity concepts creation will deduplicate existing representations and will return an existing object if the exact value match exists.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 200 OK
- returns Client Identifier
READ_SUCCESS - 404 Not found
- returns Error
NOT_FOUND
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/clientidentifier/{urn}UpdatePUT/n/v1/clientidentifier/{urn}
Client identifiers (deduplication keys) are used to store domain scoped IDs associated with an identity. These can be used to support linking an identity across multiple systems.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Request body: Client Identifier
Responses
- 202
- returns Client Identifier
UPDATE_SUCCESS - 400 Bad request
- returns Error
REPRESENTATION_MISSING_REQUIRED_FIELD
DeleteDELETE/n/v1/clientidentifier/{urn}
Client identifiers (deduplication keys) are used to store domain scoped IDs associated with an identity. These can be used to support linking an identity across multiple systems.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 202
DELETE_SUCCESS
Webhook
POSTyour destination URL
Subject: CLIENT_IDENTIFIER
Webhook for identity related arbitrary client identifiers
The client identifier concept allows association of arbitrary identifiers with an identity. This concept is very helpful when creating references across domains e.g. the Xero account ID to be combined with the HubSpot customer ID. The client identifier can also be used for other information like web sessions for attribution of experiences as identities don't need to include personal information and can be anonymous, only holding an arbitrary nonce for identification.
Listen to client identifier associations to trigger joining data sets or enhancing experiences.
Note that client identifiers are intended for short form identification material. For longer information sets use the identity's content entity, for example to store a author biography.
Body: Webhook Event
Your response
- 200
- Return 200 status to indicate that data was received successfully
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| identity | Identity | |
| domain | string | Required on create. . |
| expiresTimestamp | string (date-time) | Optional. |
| url | string (uri) | |
| token | string | Required on create. . |
Used by: Identity