Register a user

This endpoint enables clients to initiate the creation of a new user account. If a contact with an identical email address already exists, that contact will be elevated to the status of a registered user. Essential attributes like identifiers.email_address and validators.password are mandatory for this endpoint. If any of these attributes are absent, registration attempts will trigger an error. Upon a successful request, session cookies like blaize_session and blaize_tracking_id are generated and included in the response header.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
Request Body schema: application/json
required
object (identifiers)
required
object (validators)
object (attributes)
Responses
200

OK. The user was registered successfully.

400

Bad Request. The request included invalid syntax or was missing required parameters. This could alternatively be attributed to the absence of a user email address in the request body.

post/blaize/register
Request samples
application/json
{
  • "identifiers": {
    },
  • "validators": {
    },
  • "attributes": {
    }
}
Response samples
application/json
{
  • "cookie": "string",
  • "message": "string",
  • "tracking_id": "string"
}