---
title: Get files by CIN (V3)
slug: api-marketplace/get-files-by-cin-v3
description: Learn how to retrieve a company's file using an API with this detailed document. It includes a cURL command for making a POST request and explains the request parameters required, including target type and organization details. The response JSON provides 
createdAt: 2023-05-30T17:13:10.000Z
---

# Introduction

This innovative tool simplifies acquiring key company documents from the Ministry of Corporate Affairs (MCA) portal. It efficiently provides the Articles of Association (AOA), Memorandum of Association (MOA), and Certificate of Incorporation (COI) in a convenient PDF format. Requiring just the Corporate Identification Number (CIN) for input, this API eliminates the manual effort involved in sourcing these documents, offering a significant time-saving advantage for users. Perfect for professionals who need quick, automated access to essential corporate data

# API Details

## API Endpoint

:::CodeblockTabs
PreProduction

```curl
https://api-preproduction.signzy.app/api/v3/roc/getFilesByCin
```

Production

```curl
https://api.signzy.app/api/v3/roc/getFilesByCin
```
:::

## API Request

```curl
curl --location 'https://api.signzy.app/api/v3/roc/getFilesByCin' \
--header 'Authorization: <AUTH TOKEN>' \
--header 'x-client-unique-id: <UNIQUE_ID>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "requestId": "661dff6750f3c300f87f6e0f",
    "fetchType": "LLP"
}'
```

## API Request body parameters

| Request Parameter | Description                                                                                  | Data Type |
| ----------------- | -------------------------------------------------------------------------------------------- | --------- |
| requestId         | The request ID received from the Fetch Files by CIN API                                      | String    |
| fetchType         | **"LLP"&#x20;**&#x69;f fetching LLP documents, It will be treated as "**cin**" if left blank | String    |

## API Response&#x20;

:::CodeblockTabs
200 (Request Complete)

```curl
{
    "result": {
        "companyDocuments": {
            "cin": "L17110MH1973PLC019786",
            "callbackUrl": "",
            "requestId": "<request id generated>",
            "files": [
                {
                    "documentType": "MOA",
                    "documentUrl": "<publicly accessible url>",
                    "documentName": "FORM SPICE MOA (INC-33)-29042024%29-04-2024.pdf",
                    "documentFilingDate": "29/04/2024"
                },
                {
                    "documentType": "AOA",
                    "documentUrl": "<publicly accessible url>",
                    "documentName": "FORM SPICE AOA (INC-34)-29042024%29-04-2024.pdf",
                    "documentFilingDate": "29/04/2024"
                },
                {
                    "documentType": "COI",
                    "documentUrl": "<publicly accessible url>",
                    "documentName": "CERTIFICATE OF INCORPORATION%29-04-2024.pdf",
                    "documentFilingDate": "29/04/2024"
                }
            ],
            "status": "FULFILLED",
            "updatedTimestamp": 1714373073,
            "isComplete": 1
        }
    }
}
```

200 (Request Processing)

```curl
{
    "result": {
        "companyDocuments": {
            "cin": "U72200KA2012PTC063551",
            "callbackUrl": "",
            "requestId": "67fcd07985c4790f68cfffc2",
            "files": [],
            "status": "REQUESTED",
            "updatedTimestamp": 1744621689,
            "isComplete": 0
        }
    }
}
```

400

```curl
{
    "error": {
        "name": "error",
        "message": "Invalid RequestId",
        "status": 400,
        "statusCode": 400
    }
}
```

401

```curl
// When Auth token is wrong
{
    "message": "Invalid authentication credentials"
}
// When Auth token is not given
{
    "message": "No API key found in request"
}
```
:::

:::hint{type="info"}
### <font color="#2166ae">Getting Help</font>

If you have any questions, need clarification, or have suggestions to enhance our documentation or services, please don't hesitate to contact us.

Reach out to us at **[help@signzy.com](mailto\:help@signzy.com)**
:::

