# API 인증 토큰 발급받기

아키스케치의 모든 OPEN-API에는 `OPEN-API-KEY` 인증이 필요해요. 아키스케치와 계약한 이후 OPEN-API-KEY를 발급받고, 아래와 같이 API 인증헤더에 사용해주세요. X-API-KEY 헤더에 `{발급된 OPEN-API-KEY}` 형식으로 추가해주시면 됩니다.

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

### OPEN-API-KEY 발급하기

{% stepper %}
{% step %}
**아키스케치 기업 서비스 접속하기**

아키스케치와 계약한 다음에 아키스케치 기업 서비스에 로그인해주세요.

**설정 > 기업 설정 > 개발자 설정**으로 이동한 뒤 **'토큰 발급'** 버튼을 클릭해주세요.

<figure><img src="/files/nUhRKS04Gr3JJqMDmSat" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**OPEN-API-KEY 확인하기**

발급된 OpenAPI-Key는 보안을 위해 마스킹 처리되어 화면에 표시됩니다.\
확인은 마우스를 마스킹 처리된 곳 위로 올리면 키 값을 확인할 수 있으며, 클릭 시 바로 복사가 가능합니다.

<figure><img src="/files/ChRtVDXwO7N9YnThbAAl" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.archisketch.com/dev/api-2/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
