Email | Baack docs
Endpoints
CreatePOST/n/v1/email/
Endpoint for managing email addresses associated with an identity. The same concept is used both for customer and internal contacts with different identity associations (company associations).
Baack allocates the URN and returns it in the response.
Request body: Email
Responses
ReadGET/n/v1/email/{urn}
Endpoint for managing email addresses associated with an identity. The same concept is used both for customer and internal contacts with different identity associations (company associations).
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
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/email/{urn}UpdatePUT/n/v1/email/{urn}
Endpoint for managing email addresses associated with an identity. The same concept is used both for customer and internal contacts with different identity associations (company associations).
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Request body: Email
Responses
DeleteDELETE/n/v1/email/{urn}
Endpoint for managing email addresses associated with an identity. The same concept is used both for customer and internal contacts with different identity associations (company associations).
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: EMAIL
Webhook for events related to identity email addresses
Listen to email events to drive rich engagements both internally and externally like creating a custom workflow to verify an email address.
Email addresses are also used for notifications in membership groups so adding a new email address to an identity may also trigger activities like an email verification process via a third party service.
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 | Required on create. . |
| url | string (uri) | |
| string (email) | Required on create. . |
Used by: Identity