#
Account
Please note /account endpoints do not cost credits but are subject to rate limiting.
#
POST /account/register
Creates a challenge for creating a new Account using the email address provided. If the request is successfull, it will send an email to the address provided with an activation link.
{
"email": "<email>"
}
{
"email": "<email>",
"token": "<token>"
}
{
method: 'POST',
url: '/account/register',
headers: { 'Content-Type': 'application/json' },
data: { email: '<email>' }
}
#
GET /account/register/{token}/{code}
Completes the account registration challenge by verifying the email address and creating a new Wallet and API key for the Account. Note that while the {token} was part of the response when creating the challenge, the {code} will be shown only in the email received by the address used in creating the challenge.
{
"email": "<email>",
"key": "<key>",
"wallet": "<wallet>"
}
{
method: 'GET',
url: '/account/register/{token}/{code}',
headers: { 'Content-Type': 'application/json' }
}
#
GET /account
Retrieves general account data and all issued API keys.
#
POST /account/plan
Updates the Account plan immediately. Please note that you can change the Account plan once every 24h.