# Sign

## Sign

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

This endpoint allows you to sign a pdf file

#### Query Parameters

| Name      | Type   | Description                      |
| --------- | ------ | -------------------------------- |
| processId | String | ID of process to save the result |

#### 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       |
| --------------------------------------------- | ------ | ----------------- |
| document<mark style="color:red;">\*</mark>    | String | Base 64 string    |
| phoneNumber<mark style="color:red;">\*</mark> | String | User phone number |
| pin<mark style="color:red;">\*</mark>         | String | User pin code     |

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

```javascript
{
    "data": {
        "reference": "UUID"
    },
    "meta": {
        "message": "Success."
    },
    "status": true
}
```

{% endtab %}
{% endtabs %}
