API tokens
Questions about API tokens and permissions.
On this page
My upload answers "Not allowed". What is missing?
The token needs both Upload files and the name of the storage you upload to, and the storage must exist. See Token permissions.
My upload answers 401. Why?
The token is missing, mistyped, or it was removed. Copy it again from API Tokens. See API tokens.
Do tokens expire?
- A token works until you remove it.
Can I see which app uploaded a file?
Yes, if you index files in PostgreSQL: the createdby column holds the App name of the token. The token card in API Tokens also shows when the token was last used.
Should I put a token in a web page?
Only a token made for that page, with Upload files and one storage. See Upload from a web page.