# API Credentials

Once your Cryptopay account is activated, you can generate the API Key and API Secret that are required to authenticate the API and indicate the Callback URL.

{% hint style="info" %}
Note that only **Root** and **Admin** user roles can access the Integration > API page.

Here is [*a quick article*](https://help.cryptopay.me/en/articles/3415142-multiple-users-in-a-business-account) on how to manage users in your Cryptopay account.
{% endhint %}

<figure><img src="https://files.cryptopay.me/b2b/git_book_files/01_API_Credentials_01.webp" alt=""><figcaption></figcaption></figure>

* **Callback URL** – in this field, you can specify the URL to which Cryptopay will send callbacks&#x20;
* **Callback Secret** – in this field, you can view the secret for [validating callbacks](https://developers.cryptopay.me/introduction/callbacks#security) and generate a new secret if necessary

API keys - here you can generate the **API Key** and **API Secret** [to authenticate](https://developers.cryptopay.me/introduction/authentication) the Cryptopay API, specify the necessary permissions for the key to be created, and add IP addresses to the whitelist of that key.

<figure><img src="https://files.cryptopay.me/b2b/git_book_files/01_API_Credentials_02.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://files.cryptopay.me/b2b/git_book_files/01_API_Credentials_03.png" alt=""><figcaption></figcaption></figure>

The API secret should be stored on your side. Since it is only displayed once, you should write the API secret down or copy it into your application code immediately. If it is lost, you will need to delete the compromised API key and generate a new one.


---

# 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://developers.cryptopay.me/guides/api-credentials.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.
