Create Phone Validation

POST - https://api.verifik.co/v2/phone-validations

With this service you create a validation proccess for an specific phone provided, a 200 response represent that Verifik send an message with an OTP that will be used in the update phone service.

Implementation

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

{
    "project": "6266193db77ccc8111730c90",
    "projectFlow": "658ed28b0990f300134d7b78",
    "phone": "3208364280",
    "countryCode": "+57",
    "type": "login",
    "validationMethod": "whatsapp",
    "language": "en"
}

Response

{
    "data": {
        "status": "sent",
        "phoneGateway": "sms",
        "type": "login",
        "requires2FA": false,
        "deleted": false,
        "_id": "613a85ce822nbcca8e401af0",
        "phone": "3208364280",
        "countryCode": "+57",
        "projectFlow": "613a85ce822nbcca8e401af0",
        "project": "613a85ce822nbcca8e401af0",
        "language": "en",
        "ipAddress": "20.232.118.39",
        "otp": "$2a$10$asbLz1g51FgDAEP2GvO03e12ghyBxeeaqfjERv2v9Ving5sYyoleW",
        "expiresAt": "2024-02-16T21:13:25.000Z",
        "client": "613a85ce822nbcca8e401af0",
        "redirectUrl": "https://app.verifik.co",
        "webhookUrl": "https://api.verifik.co",
        "updatedAt": "2024-02-16T21:03:25.839Z",
        "createdAt": "2024-02-16T20:59:34.976Z",
        "__v": 0,
        "existing": true,
        "sent": true
    }
}

Last updated