> For the complete documentation index, see [llms.txt](https://docs.archisketch.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.archisketch.com/guide/dev-en/api-sdk/api-integration/api-token.md).

# Obtaining an API Authentication Token

Issue an authentication token and try calling the API.

Every Archisketch OPEN-API request requires OPEN-API-KEY authentication. After signing a contract with Archisketch, please issue an OPEN-API-KEY and use it in the API authentication header as shown below. Add it to the `X-API-KEY` header in the `{Issued OPEN-API-KEY}` format.

```http
curl --request GET 'https://api.archisketch.com/open-api/api/v1/' \
--header 'X-API-KEY: {Your_Issued_OPEN-API-KEY}'
```

### Issuing an OPEN-API-KEY

{% stepper %}
{% step %}
**Accessing the Archisketch Enterprise Service**

Log in to the Archisketch Enterprise Service after signing a contract with Archisketch. Go to **Settings > Enterprise Settings > Developer Settings**, and then click the **'Issue Token'** button.

<figure><img src="https://2022546525-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzuhZcfibLLAjHWVSIXSz%2Fuploads%2Fgit-blob-a1ac7837b0928ced9528d7679c707ce5f4d43135%2Fapi-integration_api-token-1.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Verifying the OPEN-API-KEY**

For security reasons, the issued OpenAPI-Key is displayed on the screen with masking applied. You can reveal the actual key value by hovering your mouse over the masked area, and you can copy it instantly to your clipboard by clicking on it.

<figure><img src="https://2022546525-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzuhZcfibLLAjHWVSIXSz%2Fuploads%2Fgit-blob-6b480f06678ae1a9b740e9e2f2852c79942388bb%2Fapi-integration_api-token-2.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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://docs.archisketch.com/guide/dev-en/api-sdk/api-integration/api-token.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.
