---
title: Company Consolidated Data(Fetch By CIN) Summary Request
slug: v2/company-consolidated-datafetch-by-cin-summary-request
description: Learn how to authenticate and request consolidated company data using an API. Discover how to obtain an access token through login, and find out how to include it as an authorization header in your request. Test the API endpoint at "https://preproduction.
createdAt: 2023-05-23T02:11:22.000Z
---

## Authentication

You will need to login before sending Company Consolidated Fetch By CIN Request. You are required to pass the access token received from the login call, as authorization header in the Company Consolidated Fetch By CIN Request along with other parameters.

## API Endpoint

### Testing

:::CodeblockTabs
Endpoint

```text
POST :: https://preproduction.signzy.tech/api/v2/patrons/..your-patron-id../companyconsolidated
```
:::

### Production

:::CodeblockTabs
Endpoint

```text
POST :: https://signzy.tech/api/v2/patrons/...patronID.../companyconsolidated
```
:::

### Headers

| Key           | Value                                                      |
| ------------- | ---------------------------------------------------------- |
| Authorization | ...access token (returned as id field of login request)... |
| Content-type  | application/json                                           |

## Request Body

The API request should include the following data in the request body:

```json
{
    "task": "fetch",
    "essentials": {
        "cin": "..cin..",
        "callbackUrl": "..callbackUrl.."
    }
}
```

### Input Parameters

| Field       | Description                                 |
| ----------- | ------------------------------------------- |
| cin         | CIN of the company                          |
| callbackUrl | callbackUrl where the data has to be posted |

## Response body

```json
{
  	"result": {
  		"requestId": "...requestId..."
  	}
}
```

### Output Paramters

| Field     | Description                                      |
| --------- | ------------------------------------------------ |
| requestId | Request Id recieved from fetch by cin requestId  |

