---
title: Fetch all files by CIN (V3)
slug: api-marketplace/fetch-all-files-by-cin-v3
description: Learn how to use the API that enables users to fetch company documents by making a POST request with the required parameters. The document provides a cURL command example and details on request parameters such as the patron ID, target type, organization I
createdAt: 2023-04-20T21:35:54.000Z
---

## Introduction

Introducing the Comprehensive MCA Company Documents Retrieval API: a streamlined solution for accessing all company-level documents from the Ministry of Corporate Affairs (MCA). Designed for professionals seeking extensive corporate data, this API allows you to effortlessly obtain a wide array of documents using just the Corporate Identification Number (CIN). It eliminates the manual effort of searching through the MCA portal, ensuring quick, complete, and efficient data retrieval. Ideal for legal, financial, and compliance tasks requiring thorough corporate documentation.

## API Details

### Endpoint

:::CodeblockTabs
Production environment

```jsx
POST https://api.signzy.app/api/v3/roc/fetchAllFilesByCin
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
POST https://api-preproduction.signzy.app/api/v3/roc/fetchAllFilesByCin
```
:::

***

### Request headers&#x20;

| **Name**      | **Value**        | **Required** | **Description**                                                                                            |
| ------------- | ---------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory    | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory    | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Request body parameters

| **Parameter** | **Data Type** | **Description**                                                       | **Required**                                                                  |
| ------------- | ------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| cin           | String        | Corporate Identification Number (CIN) of the organization             | Mandatory for fetching company documents. Not required for LLP                |
| llpin         | String        | Limited Liability Partnersip Indetification number (LLPin) of the LLP | Mandatory for fetching LLP documents. Not required for company (cin) entities |
| callbackUrl   | String        | CallbackUrl where the data will be posted                             | Optional                                                                      |

```json
{
   "cin": "<CIN>",
   "llpin": "<LLPIN>"
   "callbackUrl": "<https://callbackUrl.com>"
}
```

### Code samples

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/roc/fetchAllFilesByCin' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Auth token>' \
--data '{
    "cin": "<CIN>",
    "llpin": "<LLPIN>",
    "callbackUrl": "<https://callbackUrl.com>"
}'
```

### Response body parameters

| Parameter        | Data Type | Description                                                                                                                                |
| ---------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| result.cin       | String    | Corporate Identification Number (CIN) of the organization.                                                                                 |
| result.llpin     | String    | Limited Liability Partnersip Indetification number (LLPin) of the LLP                                                                      |
| result.requestId | String    | Identifier for the request to fetch all documents associated with the given CIN. Use this as part of Get all files by CIN to get the data. |

### Response body

:::CodeblockTabs
Success 200

```json
{
    "result": {
        "cin": "<CIN Number>",
        "llpin": "<LLP Number>"
        "requestId": "<Request ID>"
    }
}
```
:::

:::hint{type="warning"}
Typically, fetching data from the MCA takes 4-6 hours within its working hours (9 AM to 5:30 PM). This time might be affected as per MCA website availability. However, if data is requested outside these hours, or shortly before closing, it will be available on the following working day.
:::

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!

