Spanish Total.js
Italiano
Documentazione Per agenti IA
Indice

Token API

Create tokens that let other applications read and write your tables through the API.

.md Sito web

Questa pagina non è ancora tradotta. Stai leggendo l’originale.

In questa pagina

An API token lets another application or a script use Tables without signing in. Each token has a name, so you know which application uses it.

Create a token

  1. Click the API icon in the side bar on the left.
  2. Click Create.
  3. Enter the App name, for example Demo integration, and a Summary if you like.
  4. Check Super admin privileges only if the application must change the structure of tables. Without it, the token can read and write records.
  5. Click SUBMIT.

The API Tokens screen with one token

Copy the token

Open the three dots on the card of the token and choose Copy token. Keep the token secret, like a password.

Use the token

Send the token in the x-token header, or in the token parameter of the address. For example:

curl -X POST https://tables.yourdomain.com/api/ \
    -H 'x-token: YOUR_TOKEN' \
    -H 'content-type: application/json' \
    -d '{ "schema": "Tables|list" }'

All the calls are in API.

Block or remove a token

  • To stop a token for a while, open Edit and check Ban token.
  • To remove it for good, choose Remove in its menu.

Records created with a token show the app name of the token as their creator.

Fatto in Europa