Skip to content

Send a validation code or confirm the association

POST
/chat
curl --request POST \
--url https://web.exactly.app/api/chat \
--header 'Content-Type: application/json' \
--data '{ "token": "example" }'

With a token, sends a validation code to the encoded id. With a code, verifies it and associates the id with the credential, overriding conflicts.

Media typeapplication/json
Any of:
object
token
required
Chat token

Encrypted token encoding the chat id to associate.

string
Examplegenerated
{
"token": "example"
}

Validation code sent, or chat id associated with the credential.

Bad token, no pending verification, or the submitted code is wrong.

A code was already sent to this id recently.