API tokens
Create API Token
Open Account Settings page from the user menu in the bottom left corner of the sidebar.
- Click on
User menu
in the bottom left corner of the sidebar, - Select
Account Settings
from the dropdown
Follow the steps below to create API Token
- Click on
Tokens
tab in theAccount Settings
page - Click on
Add New API Token
- Enter the name for the API Token
- Click on
Save
button to save the changes - Copy the API Token by clicking on
Copy
button displayed underActions
menu - Use the API Token in the services that require it to authenticate as
xc-token
in the headers.
{
"headers": {
"xc-token": "Copied API token here under quotes"
}
}
info
- Only one token can be created per user
- API Token does not expire, but it can be deleted anytime.
API Token created will get added to the list. Copy API token by clicking on Copy
button displayed under Actions
menu
Delete API Token
warning
Note that, all the services using the API Token will stop working once the API Token is deleted.
Open Account Settings page from the user menu in the bottom left corner of the sidebar.
- Click on
User menu
in the bottom left corner of the sidebar, - Select
Account Settings
from the dropdown
- Click on
Tokens
tab in theAccount Settings
page - From the
Actions
menu, click onDelete
button associated with the API Token to be deleted