Pingtochat Docs

Pingtochat Docs

Did You Know?

We design Docy for the readers, optimizing not for page views or engagement

leafleafleafDocy banner shape 01Docy banner shape 02Man illustrationFlower illustration

API

Estimated reading: 1 minute 207 views

Overview

Overview

SMS Global – Eazy OTP API allows sending one-time passwords (OTP) via SMS for verification and authentication.
This API is simpler than DLT and does not require DLT template or sender ID approvals.

URL

https://{{your_domain}}/api/v1.0/{{key}}/globalsmseazyotp

Method

GET

Headers

  • Content-Typeapplication/json
  • AuthorizationBearer <your_access_token>

Request Parameters

ParameterTypeRequiredDescription
numberStringYesRecipient mobile number in international format (e.g., 919XXXXXXXXX)

Sample API Request

https://app.pingtochat.com/api/v1.0/xxxxxx5a8b2359c0383eb635c9e76f45758004b0e409f961bd9127994142/globalsmseazyotp?number=919xxxxxxxxx

Authentication

  • Authentication is handled using the API Key included in the URL.
  • Each API key is unique per account.
  • Keep your API key secure and do not share it publicly.

Response Format

Success Response (Example)

{
    "status": "success",
    "message": "SMS Sent Successfully",
    "track_id": "76B9FBQR3",
    "recipients": [
        {
            "mobile_number": "91xxxxxxxxxx",
            "status": "sent",
            "error_code": null,
            "error_description": null,
            "time": "2026-01-08 14:07:46"
        }
    ],
    "otp": "392605"
}

Failure Response (Example)

{
    "status": "failed",
    "messaging_product": "sms",
    "transaction_id": "GCUPQL560Y",
    "bulk_id": "E8QLKPQWFQ",
    "results": [
        {
            "to": "919946371505",
            "status": "failed"
        }
    ]
}

Leave a Comment

Share this Doc

API

Or copy link

CONTENTS