Access tokens
{{ __tool_name }} has an API, which is documented with an OpenAPI-compatible specification
here. Some API endpoints require authentication. You can generate an
access token through which to authenticate yourself on this page. Alternatively, tokens may be requested
programmatically via the /api/request-token/
endpoint, when requested with a currently
logged-in
session.
Token | Calls so far | Expiration |
---|---|---|
{{ token.token }} |
{{ token.calls }} | {{ token.expires|datetime|safe }} |
Tokens can be passed to API calls in two ways; via a GET
parameter, access-token
:
/api/endpoint?access-token=[token]
Alternatively, you can pass it as a request header, Authentication
:
headers = {"Authentication": "[access-token]"}