Initiate email verification
Generates a signed, time-bound verification link for the specified email address and sends it to the user. Once verified, the email becomes eligible for authentication and secure communication.
API-KeyX-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
The unique identifier of the user.
The unique identifier of the email address.
uuidRequest Body
application/json
The request payload used to initiate email verification.
TypeScript Definitions
Use the request body type in TypeScript.
Verify Email Request: Used to generate an email verification link.
Response Body
application/json
The email verification link was generated successfully
TypeScript Definitions
Use the response body type in TypeScript.
Verify Email Response: Returns the delivery status of the verification email.
Errors
curl -X POST "https://your-domain.us.monocloud.com/api/users/WUgDGqaqzqkRmsgd3PFAT/emails/4b7a790b-b28b-4877-8a08-ab4e668231d1/verify/link" \ -H "X-API-KEY: <token>" \ -H "Content-Type: application/json" \ -d '{}'{ "expires_at": 0, "email_sent": true}Mark an email as unverified POST
Marks the specified email address as unverified, preventing its use for authentication or any other security-sensitive actions until it is verified again.
Add a phone number POST
Adds a new phone number to the user profile. Optional parameters allow specifying whether the number should be marked as verified.