Send Validation Code (Step 1)
Description
This service is used to resend a new validation code to a registered user.
Request
Restrictions
For a registered person to obtain a code, an automatic communication must be configured using the replacement variables ${partyValidatorCode.sms} or ${partyValidatorCode.email}. Additionally, a "register" or "opt_in" interaction must be configured as the trigger.
Endpoint
POST https://<server-url>/api/v4/person/validationcodeParameters
touchpoint
Query / Header
The identifier for the touchpoint making the request. If sent as a header, the name must be Thalamus-Touchpoint.
token
Query / Header
The authentication token for the API. If sent as a header, the name must be Thalamus-Token.
Content-Type
Header
Specifies the content type of the request body. Must be application/json.
Full URL Example
https://<server-url>/api/v4/person/validationcode?touchpoint=test&token=testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttestRequest Body
The body of the request must be a JSON object containing the user's principal identifier.
JSON
{
"principal": "[email protected]"
}Last updated
Was this helpful?
