Last updated 2 months ago
POST - https://api.verifik.co/v2/email-validations
With this service you create a validation proccess for an specific email provided, a 200 response represent that Verifik send an email with an OTP that will be used in the update email service.
Headers
Body
{ "project": "6266193db77ccc8111730c90", "projectFlow": "658ed28b0990f300134d7b78", "email": "ejemplo@verifik.co", "type": "login", "validationMethod": "verificationCode", "language": "en" }
Response
{ "data": { "status": "sent", "validationMethod": "verificationCode", "extraParams": [], "type": "login", "requires2FA": false, "deleted": false, "_id": "65c28d66c3abd708cc9b12e2", "email": "hello@verifik.co", "project": "6266193db77ccc8322530c90", "projectFlow": "658ed28b02589f325134d7b78", "ipAddress": "4.246.194.90", "emailData": { "firstName": "Nicolas Hernandez", "title": "Verifik Client App", "projectName": "Verifik Client App", "contactEmail": "support@verifik.co", "logo": "https://cdn.verifik.co/access/verifikprojectlogo.png" }, "otp": "$2a$10$MCdw130G.RbW4je9Uj2MvuSTzm7.raG23f0Zaasda0FKC1Gl98r0s4D1m", "expiresAt": "2024-02-06T19:59:58.000Z", "client": "613375a1eab2fe01237f81e2", "updatedAt": "2024-02-06T19:49:59.397Z", "createdAt": "2024-02-06T19:49:59.397Z", "__v": 0, "existing": true, "sent": false } }
{ "error": "Invalid request" }
Content-Type
application/json
Authorization
Bearer <token>