# Quick Start

## Authentication

All DCKAP Integrator API's needs to be authenticated using [bearer token](#authentication-using-bearer-token) or access token.

### Authentication using Bearer Token

{% hint style="success" %}
This is the recommended approach.
{% endhint %}

As a first step, bearer token should be generated from the DCKAP Integrator account. Refer the below link to fetch the access token.

{% content-ref url="../user-guide/api-access-keys" %}
[api-access-keys](https://docs.dckapintegrator.com/user-guide/api-access-keys)
{% endcontent-ref %}

Once the token is generated, it should be passed in the API request headers like below. The *{generated\_access\_token}* should be replaced with your token.

```
{
    Authorization: Bearer {generated_access_token}
}
```

## Bearer Token Example

<mark style="color:blue;">`GET`</mark> `https://integrator.dckap.com/api/sample/url`

#### Headers

| Name          | Type   | Description                         |
| ------------- | ------ | ----------------------------------- |
| Authorization | string | Bearer {*generated\_access\_token}* |

{% tabs %}
{% tab title="200 Successfull Response" %}

```
{}
```

{% endtab %}

{% tab title="401 Authentication Error" %}

```
{}
```

{% endtab %}
{% endtabs %}
