The Generate Access Token call will return a JSON object containing a temporary “token_id” which can be used for all the platform-level API calls. Please note this API cannot be called more than 5 times per minute.
GET/POST
Name | Type | Required | Description |
account_key | String | Required | Unique key for each account. Used for all account-level authentication requests. It can be found on the web console panel-> Account->Security page. |
expire_in_seconds | Integer | Optional | Specify the temporary access token expiration time in seconds. The default value is 3600 seconds (one hour). Minimum value is 60 seconds. |
An HTTP code of 200 is responded for each successful data requests. The message body contains a JSON object containing a temporary “token_id”.
Error: See the separate list of error codes for more details.
GET https://api.ubibot.com/accounts/generate_access_token?account_key=xxxxx-xxxxx-xxxxx-xxxx
The response: