Send validation token

POST

POST https://platform-api.lia.com.br/external_api/v1/contacts/:contact_id/send_validation_token

Body params

NameDescriptionRequiredType
communication_channelIf contact_type is phone can be sms or whatsapp, if not must be emailtrueString

This route has a time based request lock, currently 60 seconds. Only 1 request/60 seconds can be done to the same contact ID

In sandbox environment the validation token will always be 123456

Example request

curl --location 'https://platform-api-sandbox.lia.com.br/external_api/v1/contacts/8fe9b670-51ca-4bb0-b53a-41baa83c8f44/send_validation_token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer token' \
--data '{
    "communication_channel": "sms"
}'