UAE API Endpoint

This endpoint will send pin to msisdn & verify them, for a service hosted by Comparo Media.

if you have been provided with a staging key, you must use the staging Base URL for API Endpoints: https://staging.comparocms.com/api

Base URL for API Endpoints: https://comparocms.com/api

Send PIN

POST /send_pin

Send Pin to MSISDN.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Required
Type
Example
Description

msisdn

string

Mobile number / MSIDN of the user. {country_code_without_+_symbol}

cid

string

The id generated by Evina Script

affiliate_params

object

Object with clickid and trackid details,

affiliate_params.click_id

string

123456

Click ID

affiliate_params.tr_id

string

123456

Track ID

{
  "status": true,
  "req_id": "01j98k0p8pqz3aww26xfp3mbpz"
}

Validate PIN

POST /validate_pin

Verify the pin sent to the MSISDN

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Required
Type
Example
Description

msisdn

string

Mobile number / MSIDN of the user. Prefix mobile number with: 00{country_code_without_+_symbol}

pin

number

Pin which your user enters.

req_id

string

01j98k0p8pqz3aww2

Request Id received from first API.

cid

string

Request id generated by Evina Script

Response

{
  "status": true
}

Last updated