PUT https://platform-api.lia.com.br/external_api/v1/contacts/:contact_id/validate_token
Body params
Name | Description | Required | Type |
---|---|---|---|
validation_token | The token your client received from the send validation token route | true | String |
In sandbox environment the validation token will always be 123456
Example request
curl --location --request PUT 'https://platform-api-sandbox.lia.com.br/external_api/v1/contacts/8fe9b670-51ca-4bb0-b53a-41baa83c8f44/validate_token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer token' \
--data '{
"validation_token": "813837"
}'
Example response
{
"id": "8fe9b670-51ca-4bb0-b53a-41baa83c8f44",
"contact_type": "phone",
"address": "5512992313668",
"created_at": "2023-11-07T11:37:00.449-03:00",
"updated_at": "2023-11-08T11:42:14.570-03:00",
"validated": true
}