ExecuteMessage
This article explains how to finalize an open message process using the Unico Check REST API.
How to use it?
Make a POST request to the /messages/{processoId}
endpoint
With a valid Access token, make a request to the endpoint (POST/messages/{processoId}).
Parameters:
- HEADER PARAMETERS
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
APIKEY | String | Mandatory | API key |
Authorization | String | Mandatory | Access token |
- PATH PARAMETERS
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
processoId | String | Mandatory | Process number |
Successful request
If the request was executed successfully, the return response is a JSON containing the ID of the process created by sending the photo as follows:
{
"id": "6ab1771e-dfab-4e47-8316-2452268e5481"
}
Request error
If an error occurs, the return response is a JSON containing the error code and description:
{
"Error": {
"code": "40004",
"description": "Error description"
}
}
For more information on the errors returned, see the list available in the article Response Errors.
Any concerns?
Missing something or still need help? If you are already a customer or partner, you can contact us through the Help Center.