Baack
Browse the docs

Endpoints

  • CreatePOST/n/v1/person/

    Endpoint handling person details (an individual) associated with an identity. A person also has multiple associated representations like names, addresses, telephone numbers via the identity.

    Baack allocates the URN and returns it in the response.

    Request body: Person

    Responses

    201 Created
    returns PersonCREATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • ReadGET/n/v1/person/{urn}

    Endpoint handling person details (an individual) associated with an identity. A person also has multiple associated representations like names, addresses, telephone numbers via the identity.

    Parameters

    urn (path, required)

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

    Responses

    200 OK
    returns PersonREAD_SUCCESS
    404 Not found
    returns ErrorNOT_FOUND
    curl -H "Authorization: Bearer $BAACK_API_TOKEN" \
      https://api.baack.co/n/v1/person/{urn}
  • UpdatePUT/n/v1/person/{urn}

    Endpoint handling person details (an individual) associated with an identity. A person also has multiple associated representations like names, addresses, telephone numbers via the identity.

    Parameters

    urn (path, required)

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

    Request body: Person

    Responses

    202
    returns PersonUPDATE_SUCCESS
    400 Bad request
    returns ErrorREPRESENTATION_MISSING_REQUIRED_FIELD
  • DeleteDELETE/n/v1/person/{urn}

    Endpoint handling person details (an individual) associated with an identity. A person also has multiple associated representations like names, addresses, telephone numbers via the 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

Webhook events for updates to a person associated with an identity.

Listen to person creation events to know when an individual person is created for an identity. The person also holds the gender and date of birth.

Note that a person can have multiple names using the person name representation and if listening to the person creation event the webhook may be triggered before the name is created.

Body: Webhook Event

Your response

200
Return 200 status to indicate that data was received successfully

Fields

Person fields
FieldTypeDescription
urnstring (uuid)
namesarray of Person Name

Ignored on update.

identityIdentity

Required on create.

.

birthDatestring (date-time)
urlstring (uri)

Used by: Identity, Person Name