---
title: ICSI (Institute of Company Secretaries of India)
slug: api-marketplace/icsi-institute-of-company-secretaries-of-india
description: Find out all the details and updates about this document coming soon. Stay tuned for more information!
createdAt: 2023-04-20T22:05:06.000Z
---

## Introduction



***

## API details

### Endpoint

:::CodeblockTabs
Production Environment

```jsx
https://api.signzy.app/api/v3/icsi/icsis
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
https://api-preproduction.signzy.app/api/v3/icsi/icsis
```
:::

***

### Request headers

| 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**             |
| ---------------------------- | ------------------- | ----------------------------------------- | ------------------------ |
| memberNumber<br />memberType | Strings<br />string | Member Number<br />Type of member ,eg-ACS | Mandatory<br />Mandatory |

```json
{
    "memberNumber":"<Member No>",
    "memberType":"<member Type>"
}
```

***

### Code samples&#xA;

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/icsi/icsis' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth token>' \
--data '{
    "memberNumber":"<Member No>",
    "memberType":"<member Type>"
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "memberNumber": "<Member No>",
  "memberType": "<member Type>"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/icsi/icsis',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<auth token>'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/icsi/icsis"

payload = json.dumps({
  "memberNumber": "<Member No>",
  "memberType": "<member Type>"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<auth token>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/icsi/icsis"
  method := "POST"

  payload := strings.NewReader(`{
    "memberNumber":"<Member No>",
    "memberType":"<member Type>"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<auth token>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters&#xA;

| **Parameter**                                                                                                                                                                                                                                                                                            | **Data Type**                                                                                                                                                               | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| result                                                                                                                                                                                                                                                                                                   | Object                                                                                                                                                                      | Contains the result of the extraction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| result.city<br />result.organization<br />result.address<br />result.type<br />result.splitAddress<br />result.splitAddress.district<br />result.splitAddress.state<br />result.splitAddress.city<br />result.splitAddress.pincode<br />result.splitAddress.country<br />result.splitAddress.addressLine | String<br />String<br />String<br />String<br />Object<br />Array of Strings<br />Array of Arrays<br />Array of Strings<br />String<br /><br />Array of Strings<br />String | The city where the member or entity is located.<br />The name of the organization.<br />The complete physical address.<br />Specifies the type or category of the result.<br />An object containing detailed components of the member's address.<br />Lists the district.<br />The state name and its abbreviation relevant to the address.<br />The city (or cities) included in the member's address.<br />The postal code associated with the member's address.<br />The country and its corresponding abbreviations in the address.<br />The detailed address line representing the member's location. |

:::CodeblockTabs
200

```json
{
    "memberType": "acs",
    "memberNumber": "24905",
    "id": 9,
    "result": {
        "city": "RAJPURA",
        "organization": "M/S AMBER ENTERPRISES INDIA PVT LTD.",
        "address": "C-1,PHASE-2,FOCAL POINT RAJPURA",
        "type": "ACS",
        "splitAddress": {
            "district": [
                "PATHANKOT"
            ],
            "state": [
                [
                    "PUNJAB",
                    "PB"
                ]
            ],
            "city": [
                "FOCAL POINT"
            ],
            "pincode": "143525",
            "country": [
                "IN",
                "IND",
                "INDIA"
            ],
            "addressLine": "C-1,PHASE-2 RAJPURA"
        }
    }
}
```

400

```json
// When wrong member number is given
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "Error: Wrong data"
    }
}

```

422

```none
// When member number is empty 
{
    "error": {
        "statusCode": 422,
        "name": "ValidationError",
        "message": "The `icsi` instance is not valid. Details: `memberNumber` can't be blank (value: \"\").",
        "details": {
            "context": "icsi",
            "codes": {
                "memberNumber": [
                    "presence"
                ]
            },
            "messages": {
                "memberNumber": [
                    "can't be blank"
                ]
            }
        }
    }
}
// When member number and member Type both are empty
{
    "error": {
        "statusCode": 422,
        "name": "ValidationError",
        "message": "The `icsi` instance is not valid. Details: `memberType` can't be blank (value: \"\"); `memberNumber` can't be blank (value: \"\").",
        "details": {
            "context": "icsi",
            "codes": {
                "memberType": [
                    "presence"
                ],
                "memberNumber": [
                    "presence"
                ]
            },
            "messages": {
                "memberType": [
                    "can't be blank"
                ],
                "memberNumber": [
                    "can't be blank"
                ]
            }
        }
    }
}
// When memeber type is empty string
{
    "error": {
        "statusCode": 422,
        "name": "ValidationError",
        "message": "The `icsi` instance is not valid. Details: `memberType` can't be blank (value: \"\").",
        "details": {
            "context": "icsi",
            "codes": {
                "memberType": [
                    "presence"
                ]
            },
            "messages": {
                "memberType": [
                    "can't be blank"
                ]
            }
        }
    }
}
```
:::

**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!
