Generate Account Key October 7, 2017

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.

API URL

http://api.ubibot.io/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 or token_id String Required Specify the account_key from the user account or token_id obtained after login.

Response

200 Success. 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  http://api.ubibot.io/accounts/api_keys?action=generate_account_key&account_key=xxxxx-xxxxx-xxxxx-xxxx