# API Access Keys

DCKAP Integrator supports **dynamic calls** from various systems to synchronize data on the go. (Read about [Dynamic Pipes here](/project-manager/integrations.md#dynamic).)&#x20;

The URL that is copied from the Dynamic Pipe is called from a system in order to read or write data. This URL is in turn made up of [API calls](/project-manager/systems/api-manager.md) (written inside Flows), which communicate with the respective systems to fetch data.&#x20;

For additional security purposes, DCKAP Integrator also sets authentication in place.&#x20;

{% hint style="success" %}
Users can use the below authentication method while making API calls

* **Token Authentication**: The dynamic token generated with an expiry time by DCKAP Integrator
  {% endhint %}

### Token Authentication

A dynamic token generated from the user account, to be shared with the other systems.  Click on the user icon in the top right section and click on Account Settings. Under "API Keys", users can manage the below options. The Create New Token page opens.&#x20;

#### Create New Token

![](/files/-M-P9tLfk1yhoha3XnLk)

Provide the following information to create a new account.

| Field Name | Description                                                     |
| ---------- | --------------------------------------------------------------- |
| Token Name | Any name for the user to identify later                         |
| Days       | Days of Expiry. The token will be expired after specified days. |
| Password   | Your Account Password                                           |

* Once generated, the user can copy and enter the token while triggering a Dynamic Call from various systems.
* Users can now generate Access Tokens of smaller size (64 characters) in the API Keys Module. &#x20;
* Dynamic Calls: During dynamic calls, it is possible to authorize DCKAP Integrator by using access\_token, jwt\_token in headers/params.

> Examples:
>
> <http://0.0.0.0:2020/v1/dynamic/listener/\\><id>?access\_token=\<token>
>
> <http://0.0.0.0:2020/v1/dynamic/listener/\\><id>?token=\<jwt\_token>

* This token is given as part of the header information in the following format:&#x20;

```
Key		     Value
Authorization	     Bearer {token}   
                     access_token {token}
```

{% hint style="danger" %}
Setting days to ***0*** (zero), will set the token expiry to ***unlimited***.
{% endhint %}


---

# 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.dckapintegrator.com/user-guide/api-access-keys.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.
