# POST - Authentication Token

Before you can do anything else with the Sypht API you will need to request a bearer token using your client id and secret available in the [app](https://app.sypht.com/credentials). Please note that bearer tokens are valid for one hour and we strongly advise you to securely cache them to reuse on subsequent API requests.

{% openapi src="/files/kfky488kmkKtg4NBurPx" path="/oauth2/token" method="post" %}
[out.yaml](https://2266347786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFTZ3y4gwn_iaPw5B8H%2Fuploads%2FVdS5S3NFUWGCqKbrQgah%2Fout.yaml?alt=media\&token=7d80cb5f-268a-4ce6-b8aa-6a81af985f8d)
{% endopenapi %}


---

# 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.sypht.com/sypht/api-docs/authentication/post-authentication-token.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.
