Identities
Create new identity
Create an identity for an individual or an organization.
/identitiesAuthorization
If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Core API key.
Body
identity_idstring
Your own identity id. When you send it, it must start with idt_ and a valid UUID, for example idt_11111111-1111-4111-8111-111111111111. Leave it out and Blnk generates one. A duplicate id returns 400 with IDT_VALIDATION_ERROR.
identity_typestring
individual or organization.
organization_namestring
Name of the organization.
first_namestring
First name of the individual.
last_namestring
Last name of the individual.
other_namesstring
Other names linked to the individual.
genderstring
Gender of the individual.
dobstring
Date of birth, as an ISO 8601 timestamp.
email_addressstring
Email address of the identity.
phone_numberstring
Contact number of the identity.
nationalitystring
Nationality of the individual.
categorystring
A label for this customer, such as customer or vip.
streetstring
Street address of the identity.
countrystring
Country of the identity.
statestring
State or region of the identity.
post_codestring
Postal code of the identity.
citystring
City of the identity.
meta_dataobject
Custom metadata linked to the identity.
Response
The response is the identity Blnk stored. created_at is set by Blnk. A field you omit comes back empty.
identity_idstring
Id of the created identity.
identity_typestring
individual or organization.
organization_namestring
Name of the organization.
first_namestring
First name of the individual.
last_namestring
Last name of the individual.
other_namesstring
Other names linked to the individual.
genderstring
Gender of the individual.
dobstring
Date of birth.
email_addressstring
Email address of the identity.
phone_numberstring
Contact number of the identity.
nationalitystring
Nationality of the individual.
categorystring
Label stored for this customer.
streetstring
Street address of the identity.
countrystring
Country of the identity.
statestring
State or region of the identity.
post_codestring
Postal code of the identity.
citystring
City of the identity.
created_atstring
When Blnk created the identity.
meta_dataobject
Custom metadata linked to the identity.