Skip to main content
POST
/
authenticate
/
basic-auth
Authenticate with email and password
curl --request POST \
  --url https://auth.platform.arb.inc/authenticate/basic-auth \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "password": "SecurePass123!"
}
'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "refreshToken": "a7b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7",
  "validForSeconds": 3600
}

Body

application/json
email
string<email>
required

User's email address

Example:

"user@example.com"

password
string
required

User's password

Example:

"SecurePass123!"

Response

Successfully authenticated user

accessToken
string

JWT access token for authenticated requests

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

refreshToken
string

Token used to obtain new access tokens

Example:

"a7b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7"

validForSeconds
integer

Number of seconds the access token is valid

Example:

3600