/Account/ResendVerificationCodes
If, during onboarding, the verification codes do not arrive, or are lost, the client can request the codes to be resent. To do this, the client needs to provide the token generated during account creation, as well as the eMail or phone number whose code they wish to resend.
Security Notice: It is not possible to resend codes for accounts, numbers or e-mail addresses that have been verified. You can only resend codes for accounts still pending verification. This includes partially verified accounts. If the phone number has been verified, but the e-mail address has not, or vice versa, you can resend the code for the unverified part, but not for the verified part. Attempting to resend codes that have been verified, will be flagged, and repetetive calls to resend codes for verified accounts, numbers or addresses may result in the temporary and then permanent blocking of the endpoint making the call.
JSON
- Request
{ "eMail":Required(Str(PEMail)), "phoneNr":Optional(Str(PPhoneNr)) }
- Response (if successful)
{ }
XML
- Request
<ResendVerificationCodes xmlns="https://waher.se/Schema/BrokerAgent.xsd" eMail=(Optional(Str(PEMail))) phoneNr=(Optional(Str(PPhoneNr))) />
- Response (if successful)
<AckResponse xmlns="https://waher.se/Schema/BrokerAgent.xsd" />
Input Parameters
Parameter | Description |
---|---|
PEMail |
e-Mail address of the user. |
PPhoneNr |
Optional Phone number of the user. |
Response Parameters
There are no response parameters for this resource.
Javascript Library
Use the following asynchronous method in the Javascript Library, to call this resource. It computes the signature according to the above specification.
var Response = await AgentAPI.Account.ResendVerificationCodes(EMail,PhoneNr);