cURL
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 }
Authenticates a user using their email address and password, returning an access token and refresh token for subsequent API requests. The email must be verified before authentication can succeed.
User's email address
"user@example.com"
User's password
"SecurePass123!"
Successfully authenticated user
JWT access token for authenticated requests
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Token used to obtain new access tokens
"a7b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7"
Number of seconds the access token is valid
3600