---
title: GET All Downloaded Files API
slug: v2/get-all-downloaded-files-api
description: Learn how to retrieve information about a company by its CIN number using the Company Details Retrieval API. With authentication through an access token, conveniently access company data in JSON format. Additionally, this comprehensive document includes e
createdAt: 2023-04-06T08:14:56.000Z
---

# Introduction

The Company Details Retrieval API allows you to retrieve the details of a company using its CIN number. The API requires authentication through an access token and returns the company details in a JSON format. The API also allows you to specify a callback URL to receive the response asynchronously.

# sample curl

```javascript
curl --request POST \
  --url https://signzy.tech/api/v2/patrons/...patronid..../organizations \
  --header 'Accept: */*' \
  --header 'Accept-Language: en-US,en;q=0.8' \
  --header 'Authorization: <Access-Token>' \
  --header 'content-type: application/json' \
  --data '{"identifier":"...companycin...","service":"roc","callbackUrl":"...call URL..."}'
```

# sample response

```javascript
  {
        "callbackUrl": "...callback...",
        "accessToken": "...accestoken....",
        "id": "....id...",
        "patronId": "....patronid...",
        "identifier": "...identifier...",
        "service": "roc"
    }
```



# Sample cURL (hunt)



```javascript
curl --request POST \
  --url https://signzy.tech/api/v2/patrons/...patronid..../organizations \
  --header 'Accept: */*' \
  --header 'Accept-Language: en-US,en;q=0.8' \
  --header 'Authorization: <Access-Token>' \
  --header 'content-type: application/json' \
  --data '{"target":"Organization","itemId":"....id-of-the-organization-object-created.....","accessToken":"....accessToken-of-the-organization-object-created.....","task":"fetchCompanyAllDocuments","essentials":{"requestId":"... requestId ..."}}'
```

# Sample Response

```javascript
  {
      "result": {
          "companyDocuments": {
            "cin": ".....company's-cin-to-search-for...."
            "callbackUrl":"...callbackUrl..."
            "requestId": ".....requestId...."
             "files": [
                 {
                     "documentType": "...documentType...",
                     "documentUrl": "...documentUrl...",
                     "documentName": "...documentName..",
                     "documentFilingDate": "..documentFilingDate..",
                     "documentStatus":"...documentStatus..."
                 }

             ],
             "status": "...status...",
             "updatedTimestamp": ..updatedTimestamp..,
             "isComplete": ..isComplete..
         }
      }
  }
            
        
```

