Purpose:
Generates an authentication token for a user in the DataGOL Platform.
This endpoint validates the provided user credentials and returns a JWT token that can be used to authenticate subsequent API requests.
POST /idp/api/v1/user/token
Base URL:
https://be.datagol.ai
| Header | Required |
|---|---|
| Content-Type: application/json | ✅ Yes |
{
"email": "string",
"password": "string"
}
| Field | Type | Description |
|---|---|---|
| string | The registered email address (e.g., sample_email@datagol.com). | |
| password | string | The user’s account password. |
curl -X POST https://be.datagol.ai/idp/api/v1/user/token \
-H "Content-Type: application/json" \
-d '{
"email": "sample_email@datagol.com",
"password": "UserPassword123"
}'
{
"token": "eyXXXXXX"
}
Validates the provided user credentials and generates a JWT authentication token.
The returned token should be used in subsequent API requests for authentication, typically passed in request headers.