Skip to content

Login

Authenticate a user to obtain access and refresh tokens. Supports both traditional email/password login and social platform authentication (Google, Apple).

POST/user/v1/login
{
"email_login": {
"email": "user@example.com",
"password": "securepassword123"
}
}
FieldRequirement
emailMust be a valid email address format.
passwordMust be between 8 and 16 characters in length.
platformSocialPlatform: GOOGLE, APPLE.
{
"status": {
"type": "SUCCESS",
"details": []
},
"access_token": "eyJhbG...",
"refresh_token": "def456...",
"token_expiry": "2026-04-18T12:00:00Z",
"user_profile": {
"user_name": "jdoe",
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"user_status": "ACTIVE"
}
}
FieldTypeDescription
statusStatusOperation status.
access_tokenstringJWT used to authenticate subsequent API requests.
refresh_tokenstringToken used to obtain new access tokens.
token_expiryTimestampExpiration time for the access token.
user_profileUserInfoDetailed user profile.