# Authentication

API authentication in Medianova is managed through secure token generation in the [Medianova Control Panel](https://cloud.medianova.com). After creating a token, you will receive your API credentials (API Key and Secret), which authorize access to analytics and operational endpoints across the platform.

{% hint style="info" %}
Each token remains valid for 30 days and can be renewed anytime from the Medianova Control Panel.
{% endhint %}

To view or manage your tokens, log in to the Medianova Control Panel, navigate to **Profile → My Account → API Tokens**, and click **Generate Token** to create a new credential. Store the generated token securely — it will be displayed only once.

{% openapi src="/files/eRZJR3mUq26PGMXyypC3" path="/api/v1/auth/login/token" method="post" %}
[Authentication.json](https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2Fc5DLd2PmSwQIwP6dcfJK%2FAuthentication.json?alt=media\&token=941ee265-fa42-4282-82c1-a044064ba264)
{% 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://clients.medianova.com/api-documentation/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.
