# Authentication

{% hint style="danger" %}
Trackit API 키는 클라이언트 사이드에서 사용하거나 최종 사용자에게 노출해서는 안 됩니다.\
노출된 경우에는 즉시 API 키 삭제 후 재발급 받으시길 바랍니다.
{% endhint %}

Trackit API를 사용하여 회사, 고객, 딜, 리드 등의 레코드를 생성하기 위해서는 API 키를 발급해 Request header에 포함시켜야 합니다.

## API 키 발급 <a href="#create-api-key" id="create-api-key"></a>

1. '설정 > 워크스페이스 > API' 메뉴로 이동해 API 키를 생성 후 복사합니다.
2. API 호출을 할 때 Authorization 헤더를 추가하고 API 키를 Bearer 토큰으로 설정합니다.

<figure><img src="/files/Giebaif8cnYPSjReiKzQ" alt=""><figcaption><p>API키 생성하기</p></figcaption></figure>

<figure><img src="/files/EEMirD6Jvs0zi9a4ny6o" alt=""><figcaption><p>API키 생성하기</p></figcaption></figure>


---

# 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.trackit.so/integrations/http-api/authentication.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.
