> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/user/authorization-and-security/application-tokens-api-access.md). Agents can also search and read this documentation through its [MCP server](https://support.docstudio.com/~gitbook/mcp).

# Application Tokens (API Access)

This document provides an overview of creating and managing application tokens for API access, including token expiration and revocation.

Application tokens let you authorize API requests and third-party integrations without using your password. You create a token in your user profile, set an expiration date, copy the token once, and revoke it when needed.

{% hint style="info" %}

* **Application token** — A token used for API access instead of an interactive sign-in session.

See the [Glossary](https://support.docstudio.com/glossary/glossary.md) for DocStudio term definitions.
{% endhint %}

{% hint style="warning" %}
This feature can be disabled by an instance administrator. In this case, creating new tokens is disabled. All existing tokens stay valid until their expiration date.
{% endhint %}

Use application tokens with the API and third-party integrations.

### Create a token

<figure><img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2F8PqswBMjXIjv1OQHKb4V%2Fimage.png?alt=media&amp;token=1ed43708-a6c4-4eca-ad4f-04c73d6350cf" alt=""><figcaption></figcaption></figure>

1. Open **User profile** → **Application tokens**.
2. Click the <img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2F0drVxpffuseA3WCwMKdy%2Fimage.png?alt=media&amp;token=62a8aeb5-4067-4b34-8759-f7309e70f11e" alt="" data-size="line"> button in the bottom-left corner.
3. Enter the **Token name** and select the **Token expiration date**.
4. In the confirmation window, click the **Copy** icon ![](https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2F4dFAYofoLyjZzwLgdfpU%2Fimage.png?alt=media\&token=f803ddf7-3013-44a4-aa51-e3ff30febc6a).

{% hint style="danger" %}
Make sure to copy the token. This is the only time you can see it. You won’t be able to view it again after you close this window.
{% endhint %}

5. Check the token list. Revoke tokens if needed.

{% hint style="info" %}
You will receive an email notification 30 days and 1 day before the token expires.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.docstudio.com/user/authorization-and-security/application-tokens-api-access.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
