# Validate

## Validate

<mark style="color:green;">`POST`</mark> `https://biometrid.com/api/providers/custom/ama/validate?processId={{processId}}`

This enpoint allows you e resultto validat a referenc

#### Headers

| Name                                            | Type   | Description                          |
| ----------------------------------------------- | ------ | ------------------------------------ |
| Accept-Language                                 | String | en (default), pt                     |
| Content-type<mark style="color:red;">\*</mark>  | String | application/json                     |
| Authorization<mark style="color:red;">\*</mark> | String | Authentication account or user token |

#### Request Body

| Name                                        | Type   | Description        |
| ------------------------------------------- | ------ | ------------------ |
| reference<mark style="color:red;">\*</mark> | String | UUID sign pdf file |
| code<mark style="color:red;">\*</mark>      | String | User SMS otp code  |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    "data": {
        "document": "base64-string-pdf-file"
    },
    "meta": {
        "message": "Success."
    },
    "status": true
}
```

{% endtab %}
{% endtabs %}
