Générer une clé de compte 2022-07-26

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://api.ubibot.com/accounts/api_keys?action=generate_account_key&parameters

Where the parameters are as defined below.

HTTP Method

POST

URL Parameters

NameTypeRequiredDescription
account_key or token_idStringRequiredSpecify the account_key from the user account or token_id obtained after login.

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