v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB
Authentication

Log in to the user account

This endpoint is utilized for user authentication, granting access to secured endpoints that mandate authentication. Following successful authentication, a blaize_session is generated for the user, enabling them to access the secure endpoints.

post/blaize/login

Headers

cookiestring

The session cookie is employed to ascertain whether a user is already authenticated or has an active session.

Request body

Example request

{
  "identifiers": {
    "email_address": "abc@company.com"
  },
  "validators": {
    "password": "securepassword@123"
  }
}

Response

OK. The user has logged in successfully.

cookiestring

The authenticated user session.

messagestring
tracking_idstring

The user tracking ID.

Example response

{
  "cookie": "blaize_session=443ed68f-0b44-4f32-8443-553d584cb0dd; Expires=Fri, 16 Nov 2018 12:35:56 GMT; Path=/;",
  "message": "Login successful",
  "tracking_id": "4fac49a6-e423-4ac1-b0ad-d678979344422"
}
All 106 operations