Spanish Total.js
English
Documentation For AI agents
Contents

API tokens

Create a token for each app that renders templates, and change it when you need to.

.md GitHub
On this page

Your apps need an API token to render templates. Give each app its own token, so that you can change one without touching the others.

Click Tokens in the menu on the left to see your tokens.

The Tokens page with two tokens

Create a token

1. Click Create.

2. Fill in the form:

The Create token form

FieldWhat it does
NameRequired. A name you recognise, for example the name of the app.
Access tokenRequired. A random token is already filled in. You can type your own, from 5 to 50 characters.
Allow read list of profilesLets the app list the profiles and templates. Rendering works without it.

3. Click SUBMIT.

4. Click the card of the token to open it again, and copy the Access token into the configuration of your app.

Change a token

Click the card of the token, change the Name, the Access token or the checkbox, and click SUBMIT. When you change the Access token, the old value stops working at once. Use this to lock out an app or to replace a token that has leaked.

Use the token

Your app sends the token in the x-token header or in the token query argument. See REST API overview.

Made in Europe