Get API Keys and Endpoint
The API keys and broker endpoints received via this API help you connect to the ODIN REST APIs.
🌐🗝️ Get API Keys
| Field | Value |
|---|---|
| Name | VAS – Portal redirect |
| URL | http://<domain>/loginservice/apiKeys |
| Description | Returns API Keys and Endpoints for REST API Integration |
| Method | POST |
🔗 Request
| Parameter | Data Type | Mandatory/Optional | Description |
|---|---|---|---|
| sApplicationToken | String | M | Third party Application Token |
| sPartnerAppId | String | M | Broker's partner ID Refer Broker List |
| sTwoWayToken | String | M | Token generated by Third party for two-way authentication |
Example Request
{
"sApplicationToken": "<Application Token>",
"sPartnerAppId": "<Broker Partner ID>",
"sTwoWayToken": "<abcdefg>"
}
Example Response
{
"success": true,
"statusCode": "reg-200-059",
"data": [
{
"type": "interactive",
"apikey": "XXXXXXXXX",
"endpoint": "<End point>",
"secretkey": null
},
{
"type": "broadcast",
"apikey": "XXXXXXXXX",
"endpoint": "<endpoint>",
"secretkey": null
},
{
"type": "omex",
"apikey": "XXXXXXXXXX",
"endpoint": "<endpoint>",
"secretkey": "XXXXXXXo"
}
],
"message": "Api Keys Generated Successfully.",
"traceId": "b0efa643-4edc-4fc2-b544-ae280c8d7793"
}