Generate Account Key

Overview

This API call is used to create a new account key or to reset the existing key. Calling this API will cause the existing account key to be permanently deleted.
*To obtain the token only, please find Quick Start & Limits.

API URL

https://webapi.ubibot.com/accounts/api_keys?action=generate_account_key&parameters

Where the parameters are as defined below.

HTTP Method

POST

URL Parameters

Name Type Required Description
account_key String Required Specify the account_key obtained from the web console panel.

Response

An HTTP code of 200 is responded for each successful data requests. The message body contains a JSON object containing the new account key for the specified user.

Error: See the separate list of error codes for more details.

Examples

GET  https://webapi.ubibot.com/accounts/api_keys?action=generate_account_key&account_key=xxxxx-xxxxx-xxxxx-xxxx

{“
 result”: ”success”,
 ”server_time”: ”2017 - 09 - 04 T08: 36: 55 Z”,
 ”account_key”: ”2 X598e4123xx8X9597f0f9200d2X”
}