Baack
Browse the docs

Endpoints

  • CreatePOST/n/v1/personname/

    Endpoint handling names (alias) for people. This endpoint allows association of multiple names with a person as part of their identity.

    Baack allocates the URN and returns it in the response.

    Request body: Person Name

    Responses

    201 Created
    returns Person NameCREATE_SUCCESS
    400 Bad request
    returns ErrorINVALID_REPRESENTATION
  • ReadGET/n/v1/personname/{urn}

    Endpoint handling names (alias) for people. This endpoint allows association of multiple names with a person as part of their identity.

    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 Person NameREAD_SUCCESS
    404 Not found
    returns ErrorNOT_FOUND
    curl -H "Authorization: Bearer $BAACK_API_TOKEN" \
      https://api.baack.co/n/v1/personname/{urn}
  • UpdatePUT/n/v1/personname/{urn}

    Endpoint handling names (alias) for people. This endpoint allows association of multiple names with a person as part of their identity.

    Parameters

    urn (path, required)

    String representation of a Unique Resource Name. Typically a UUID with 36 characters.

    Request body: Person Name

    Responses

    202
    returns Person NameUPDATE_SUCCESS
    400 Bad request
    returns ErrorINVALID_REPRESENTATION
  • DeleteDELETE/n/v1/personname/{urn}

    Endpoint handling names (alias) for people. This endpoint allows association of multiple names with a person as part of their identity.

    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: PERSON_NAME

Webhook for events related to associating a person name with an identity.

Listen to person name events for changes like additions of a new alias or creation of an identity with a name in order to trigger custom experiences like welcoming a person as a customer.

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Person Name fields
FieldTypeDescription
urnstring (uuid)
personPerson

Required on create.

.

givenNamestring

Required on create.

.

familyNamestring
honorificPrefixstring

Optional.

urlstring (uri)

Used by: Person