---
title: Signature Identifier
slug: api-marketplace/signature-identifier
createdAt: 2026-05-12T07:32:42.937Z
---

### Introduction

The Signature Identifier API can be used to detect if the document being uploaded from the user is a signature or not. If it is a signature then it lets the user move forward.&#x20;
Input will have either person's signature or his photo. Need to differentiate if it is signature or photo. Pass value in one variable in response as "Signature" or "Photo". Signature is something where a person's name is written in a distinctive way as a form of identification for authorization. Incase of both validation failures, return value to type as "Invalid".

### API Details

**Endpoint:**

:::CodeblockTabs
Production Environment

```none
POST  https://api.signzy.app/api/v3/signature/identifier
```
:::

:::CodeblockTabs
UAT/Testing environment

```none
POST  https://api-preproduction.signzy.app/api/v3/signature/identifier
```
:::

***

**Request body parameters:**

| Parameter | Type  | Required | Default | Description     |
| --------- | ----- | -------- | ------- | --------------- |
| file      | Array | Yes      | Yes     | Persist Img url |

```json
{
    "file": [
        "img.url"
    ]
}
```

***

**Request headers:**

| **Name**      | **Value**        | **Required** | **Description**                                                                                            |
| ------------- | ---------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Yes          | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXX      | Yes          | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

**Code samples:**

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/signature/identifier' \
--header 'Content-Type: application/json' \
--header 'Authorization:<auth_key>' \
--data '{
    "file": [
        "img.url"
    ]
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "file": [
    "https://persist.signzy.tech/api/files/1810033201/download/9706e3080512411980c1a292f186ddeaac6e21e6a4c84e33ab97f9f20808509a.jpg"
  ]
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/signature/identifier',
  headers: { 
    'Content-Type': 'application/json'
  },
  data : data
};

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

```

```python
import http.client
import json

conn = http.client.HTTPSConnection("api-preproduction.signzy.app")
payload = json.dumps({
  "file": [
    "img_url"
  ]
})
headers = {
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/v3/signature/identifier", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```

```go
package main

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

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/signature/identifier"
  method := "POST"

  payload := strings.NewReader(`{
    "file": [
        "img_url"
    ]
}`)

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

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

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

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

***

**Response body parameters:**

| **Parameter** | **Data type** | **Description**                                                                      |
| ------------- | ------------- | ------------------------------------------------------------------------------------ |
| type          | String        | Type of image signature or photo.<br />Possible values are Signature, Photo, Invalid |

:::CodeblockTabs
200

```json
{
    "type": "Signature"
}
```

401

```json
{
    "message": "Invalid authentication credentials"
}
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```

422

```json

{
    "error": {
        "name": "error",
        "message": "Unable to download the file.",
        "status": 422,
        "reason": "Unable to download the file.",
        "type": "Unprocessable Entity",
        "statusCode": 422
    }
}
```
:::

***

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

