---
title: ID Classification
slug: us-apis/id-classification
description: Learn about the ID intelligence API, a powerful tool for classifying and organizing identification cards based on visual cues and formats. Streamline your data extraction and processing workflows by utilizing this API's ability to categorize various ID ca
createdAt: 2023-07-03T10:17:24.612Z
---

## Introduction

This is key feature of ID intelligence API. This helps to classify different types of identification cards based on their visual features and formats. It can recognize and categorize various ID cards from different countries, such as passports, driver's licenses, national identity cards, and more. This classification feature helps in streamlining data extraction and processing workflows.

## API Details

You need to pass `performIdClassification` as True in order to use this feature.&#x20;

We have mentioned only this feature in the below Curl. For Curl with complete features, refer the [ID Intelligence](docId:9dWPKYoaeY2mFiYs4oKlD)

### Sample Curl

```curl
curl --location 'https://preproduction.signzy.tech/api/v2/patrons/{patronId}/documentIntelligence' \
--header 'authorization: {signzy-api-authKey}' \
--header 'content-type: application/json' \
--data '{
    "task": "idIntelligence",
    "essentials": {
        "frontUrl": "<front-image-url>",
        "backUrl": "<back-image-url>",
        "country": "<country>",
        "idType": "<id-type> ",
        "performIdClassification": true/false

    }
}'
```

### Response

```json
{
    "essentials": {
        "frontUrl": "", 
        "backUrl": "",  
        "country": "",  
        "idType": "",   
     "performIdClassification": true/false
    },
    "id": "60xxxxxxxxxxxxxxxxxxxxxxxxxx",
    "patronId": "60xxxxxxxxxxxxxxxxxxxxxxxxxx",
    "task": "idIntelligence",
  {
        "predictedIdTypeFront": "...predicted id type...",
        "predictedIdTypeBack": "...predicted id type...",
        "idExpired": "True/False"
            }
        }
    }
}
```

:::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](#). 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!
:::

