---
title: Face Extraction API
slug: v3-gateway/face-extraction-api
description: Learn how to use an API to effortlessly detect faces in images with this comprehensive document. Discover the supported image formats, input parameters, and even sample cURL requests. Understand the expected response parameters and explore the potential s
createdAt: 2022-09-22T21:03:21.000Z
---

## Introduction

A permanent account number is a ten-character alphanumeric identifier, issued in the form of a laminated "PAN card", by the Indian Income Tax Department, to any "person" who applies for it or to whom the department allots the number without an application.

## API Input Guidelines

- The Image should be of good quality
- The Image should be less than 2MB in size
- This API accepts only image, pdf, or URLs of image(png/jpg/jpeg/tiff)

## Sample cURL Request

:::CodeblockTabs
preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/face/get-face' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Auth-Token>' \
--data '{
  "url": "https://preproduction-persist.signzy.tech/api/files/xxxx/download/xxxx.tiff"}'
```

production

```curl
curl --location 'https://api.signzy.app/api/v3/face/get-face' \
--header 'Content-Type: application/json' \
--header 'Authorization: <url>' \
--data '{
  "url": "https://preproduction-persist.signzy.tech/api/files/19112913/download/875d0577f45d4eca97bc7b02a9167b55abcee72439ae43739809534fcdc3f7de.tiff"}'
```
:::

## Input Parameters

| Parameter     | Description                                        | Type   | Required |
| ------------- | -------------------------------------------------- | ------ | -------- |
| URL           | The URL of the image to perform face detection on. | String | Required |
| Authorization | The authorization key/token for API access.        | String | Required |

### Sample Response

```json
{
    "cropped": "https://persist.signzy.tech/api/files/xxxx/download/xxxx.png"
}
```

### Response Parameters

| Parameter | Description                                       | Type   |
| --------- | ------------------------------------------------- | ------ |
| cropped   | The URL of the cropped image of the detected face | String |

## Status Codes

| **CODE** | **DESCRIPTION**      |
| -------- | -------------------- |
| 422      | Unprocessible Entity |
| 400      | Bad Request          |
| 200      | 200 OK               |

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

