Authenticate User API
This API endpoint allows you to authenticate a user by verifying their email address and password. On successful authentication, a Bearer token is returned, which can be used to access other protected endpoints in the Brand2Social API.
- Method: POST
- Endpoint:
/api/api-services/v1/auth-service/auth-user
- Returns: Bearer token on success
Authenticate User
POST https://app.brand2social.com/api/api-services/v1/auth-service/auth-user
Field | Type | Required | Description |
---|---|---|---|
email_address | string | Yes | User's email |
password | string | Yes | User's password |
curl --location 'https://app.brand2social.com/api/api-services/v1/auth-service/auth-user' \
--header 'Content-Type: application/json' \
--data-raw '{
"email_address": "demo@example.com",
"password": "demo@example.com"
}'
Response
{
"status": "SUCCESS",
"http_code": 200,
"message": "Authenticated successfully",
"data": {
"token": "B2S_dummyToken"
}
}