---
title: Society Bye Laws OCR
slug: api-marketplace/society-bye-laws-ocr
createdAt: 2025-05-09T09:17:36.447Z
---

## Introduction

This API allows users to extract the information from Society Bye Laws document like Name of the society, address of registered office, Nature of work, President name, Secretary name, Treasurer name.&#x20;

## API details

### Endpoint

```curl
https://api.signzy.app/api/v3/extract/society-by-law
```

:::CodeblockTabs
curl

```curl
POST https://api-preproduction.signzy.app/api/v3/extract/society-by-law
```
:::

### 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. |

```json
{"file":"https://preproduction-persist.signzy.tech/api/files/42598395/download/54c2658d8667440c8beca7a297c123e2632af4d8c4904628b1f4350c97a5d446.pdf"}
```

### &#xA;Code samples

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/extract/society-by-law' \
--header 'Content-Type: application/json' \
--header 'Authorization: <authkey>' \
--data '{"file":"https://preproduction-persist.signzy.tech/api/files/42598395/download/54c2658d8667440c8beca7a297c123e2632af4d8c4904628b1f4350c97a5d446.pdf"}'
```

###

### Response body parameters

| Parameter               | Data Type | Description                                                        |
| ----------------------- | --------- | ------------------------------------------------------------------ |
| societyName             | String    | Official name of the society as mentioned in the Bye Laws          |
| registeredOfficeAddress | String    | Address of the society's registered office                         |
| natureOfWork            | String    | Description of the primary activities or objectives of the society |
| presidentName           | String    | Full name of the President of the society                          |
| secretaryName           | String    | Full name of the President of the society                          |
| treasurerName           | String    | Full name of the Treasurer of the society                          |

:::CodeblockTabs
200

```json
{
    "result": {
        "societyName": "Rotary Club of Calicut Midtown",
        "registeredOfficeAddress": "5/235E, PHED Road, Eranjipalam, PO Civil Station, Calicut 673020",
        "natureOfWork": "General Public Utility",
        "presidentName": "Mr. Muhammed Hassan",
        "secretaryName": "Mr. Vinod Nair",
        "treasurerName": "Mr. Ashwin ES"
    }
}
```

422

```none
{
    "error": {
        "status": 422,
        "msg": "Unable to download the file.",
        "responseCode": "fail"
    }
}
```

```json
{
    "error": {
        "name": "Validation Error",
        "status": 400,
        "msg": "JSON decode error",
        "responseCode": "fail"
    }
}
```
:::

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

