Login API - Saba-sports/OddsDirectAPI GitHub Wiki
This API is for getting authorize token, and the token is valid for ten minutes, reusable within ten minutes.
Request
POST /login
Content-Type: application/json
X-Forwarded-For: client ip (If using API via proxy)
**use json request **
{
"vendor_id":"XXXXX",
"vendor_member_id":"XXXXX"
}
| Parameter | Format | Description |
|---|---|---|
| vendor_id | string | Specifies the identifier of the operator. |
| vendor_member_id | string | Specifies the identifier of the member. |
Response
{
"access_token": "{JWT token}",
"token_type": "Bearer"
}