> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/api/ja/exoclick-gong-kai-api/apitkuntobearertkun.md).

# APIトークンとBearerトークン

ExoClick API を使用する際は、API トークンと Bearer トークンの2種類の認証トークンを扱います。安全かつ効果的に API を利用するには、この違いを理解することが重要です。

それぞれの違いは次のとおりです。

## API トークン

* 無効化または削除するまで有効です。
* ログイン時に API でアカウントを認証するために使用します。
* 作成場所： [プロフィール > API トークン](https://docs.exoclick.com/exoclick-docs/my-profile#api-tokens-tab).
* 作成時に限り、全体が一度だけ表示されます。安全な場所に保管してください。

## Bearer トークン

* 一時的なトークンで、短時間で有効期限が切れます。
* API トークンでログインすると発行されます。
* 認証が必要なすべてのリクエストに付与されるため、API トークンを毎回送信する必要はありません。
* 有効期間が限られているため、セキュリティが強化されます。

**要するに、** API トークンはあなたが誰であるかを識別します。Bearer トークンは、安全にリクエストを送信するための一時的なキーです。


---

# 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.exoclick.com/api/ja/exoclick-gong-kai-api/apitkuntobearertkun.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.
