Baack
Browse the 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

    201 Created
    returns EmailCREATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • 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

    200 OK
    returns EmailREAD_SUCCESS
    404 Not found
    returns ErrorNOT_FOUND
    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

    202
    returns EmailUPDATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • 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

Email fields
FieldTypeDescription
urnstring (uuid)
identityIdentity

Required on create.

.

urlstring (uri)
emailstring (email)

Required on create.

.

Used by: Identity