---
title: Quick Search by DIN
slug: v2/quick-search-by-din
description: This document is a comprehensive guide to an API that enables users to access important company details, including DIN, DOB, name, and designation. Learn how to efficiently call the API, along with essential input guidelines and required parameters. Gain 
createdAt: 2023-06-10T17:42:24.000Z
---

## Introduction

This API allows users to get the company details like din, dob, name, designation etc.

## How to call the API

You are required to pass the DIN Number & ItemID(Organization Id) in the request body.

## API Input Guidelines

Before going for ROC Director Quick search for organizations, you first need to create an 'Organization' object. You need to pass the din number & ItemId(Organization Id) in the request body.

## Sample Curl

:::CodeblockTabs
Preproduction

```curl
curl --location --request POST 
'https://preproduction.signzy.tech/api/v2/hunts' \
--header 'Content-Type: application/json' \
--data '{
    "target": "Organization",
    "itemId": "....id-of-the-organzation-object-created.....",
    "accessToken": ".....access-token-from-the-organization-creation-request.....",
    "task": "quickSearchByDin",
    "essentials": {
    	"din": ".....director-din-to-search-for...."
    }
  }'
```

Production

```curl
curl --location --request POST 
'https://signzy.tech/api/v2/hunts' \
--header 'Content-Type: application/json' \
--data '{
    "target": "Organization",
    "itemId": "....id-of-the-organzation-object-created.....",
    "accessToken": ".....access-token-from-the-organization-creation-request.....",
    "task": "quickSearchByDin",
    "essentials": {
    	"din": ".....director-din-to-search-for...."
    }
  }'
```
:::

### Input Parameters &#x20;

| Parameter   | Type   | Description                                         |
| ----------- | ------ | --------------------------------------------------- |
| target      | string | Target Value                                        |
| itemId      | string | Id of the organzation object created                |
| accessToken | string | access token from the organization creation request |
| task        | string | Type of Din Search                                  |
| essentials  | object | Give DIn number here                                |

## Sample Response

:::CodeblockTabs
Response

```json
{
    "din": "..din..",
    "designation": "..designation..",
    "address": "..address..",
    "name": "..name..",
    "dob": "..dob..",
    "fatherName": "..fatherName..",
    "dscExpiryDate": "..dscExpiryDate..",
    "dateOfAppointment": "..dateOfAppointment..",
    "whetherDscRegistered": "..whetherDscRegistered..",
    "noOfCompanies": "..noOfCompanies..",
    "splitAddress": {
      "state": [
        [

        ]
      ],
      "district": [

      ],
      "city": [],
      "pincode": "...pincode...",
      "country": [
        "IN",
        "IND",
        "INDIA"
      ],
      "addressLine": "...addressLine..."
    }
  }
```
:::

### Output Parameters

| Parameter            | Type   | Description                                    |
| -------------------- | ------ | ---------------------------------------------- |
| din                  | string | Din Number                                     |
| designation          | string | Designation value                              |
| address              | string | Address of Company                             |
| name                 | string | Name of the company                            |
| noOfCompanies        | string | Number of Companies                            |
| fatherName           | string | Father Name Value                              |
| dscExpiryDate        | string | DSC Expiry Date Value                          |
| dateOfAppointment    | string | Appointment date value                         |
| whetherDscRegistered | string | True/False Value whether dsc registered or not |
| dob                  | string | Value Of The Identifier                        |
| dateOfAppointment    | string | Appointment Date                               |
| splitAddress         | object | Address of Organization                        |
| city                 | string | Value of the city will be present here         |
| state                | string | Value of the state will be present here        |
| country              | string | Value of the country will be present here      |
| addressLine          | string | Consist of the address of the company          |

## Status Codes

| CODE | MESSAGE                             |
| ---- | ----------------------------------- |
| 200  | OK                                  |
| 404  | Data Not Found                      |
| 409  | Error in getting Data from Upstream |



:::hint{type="info"}
## Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

