Authyo Docs
  1. Notifications
Authyo Docs
  • 🐶 Walk through Authyo
  • Error Codes
  • About Pricing
  • APIs
    • Send OTP
      GET
    • Send OTP
      POST
    • Verify OTP
      GET
    • Verify Token
      POST
    • Revoke User Session
      POST
  • Web SDKs
    • JavaScript
    • PHP
    • AngularJS Examples
    • TypeScript Examples
    • React JS
    • Vue JS Examples
  • 2FA SDK
    • JavaScript
    • AngularJS Examples
    • PHP
    • React JS
    • TypeScript Examples
    • Vue JS Examples
  • Native/Mobile SDKs
    • Flutter
  • Integration
    • Google Sheet
    • Firebase
  • Session Management
    • Introductions
    • JWT Token
  • Notifications
    • Notifications Order
      POST
  1. Notifications

Notifications Order

POST
https://app.authyo.io/api/v1/notifications/order
This is a POST API call for sending otp by authentication type based on settings of your application

Request

Header Params

Body Params application/json

Example
{
    "to": "91***",
    "authWay": "sms",
    "templateType": "templateType",
    "variables": {
        "customerName": "naveen soni",
        "orderId": "12345",
        "orderTotal": "4000",
        "status": "paid",
        "cancelReason": "any",
        "failureReason": "any",
        "paymentMethod": "UPI",
        "retryPaymentLink": "www.example.com",
        "trackingNo": "1245",
        "estimatedDelivery": "25-dec-2025",
        "deliveryAgentName": "ABC",
        "refundedAmount": "100",
        "refundMethod": "UPI",
        "refundId": "126454",
        "expectedCreditDate": "25-dec-2025",
        "orderDetailsLink": "www.example.com",
        "transactionId": "1235465",
        "trackingLink": "authyo.io",
        "feedbackLink": "www.example.com",
        "supportLink": "www.example.com",
        "retryUrl": "www.example.com",
        "updateMessage": "received",
        "orderDate": "25-dec-2025"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.authyo.io/api/v1/notifications/order' \
--header 'clientId;' \
--header 'clientSecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "to": "91***",
    "authWay": "sms",
    "templateType": "templateType",
    "variables": {
        "customerName": "naveen soni",
        "orderId": "12345",
        "orderTotal": "4000",
        "status": "paid",
        "cancelReason": "any",
        "failureReason": "any",
        "paymentMethod": "UPI",
        "retryPaymentLink": "www.example.com",
        "trackingNo": "1245",
        "estimatedDelivery": "25-dec-2025",
        "deliveryAgentName": "ABC",
        "refundedAmount": "100",
        "refundMethod": "UPI",
        "refundId": "126454",
        "expectedCreditDate": "25-dec-2025",
        "orderDetailsLink": "www.example.com",
        "transactionId": "1235465",
        "trackingLink": "authyo.io",
        "feedbackLink": "www.example.com",
        "supportLink": "www.example.com",
        "retryUrl": "www.example.com",
        "updateMessage": "received",
        "orderDate": "25-dec-2025"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "message": "Notifications sent successfully",
    "status": "NotificationsSent",
    "data": {
        "isTried": 1,
        "isSent": 1,
        "results": [
            {
                "success": true,
                "message": "message submitted successfully",
                "to": "91*****",
                "authType": "Sms",
                "maskId": "167f99d948de47d48cf98cfe52a931fb",
                "createdTime": 1766683317,
                "expireTime": 1766683378,
                "deviceInfo": {
                    "ipAddress": "49.36.89.101",
                    "browser": "Other .",
                    "os": "Other .",
                    "device": "Other",
                    "country": "IN",
                    "state": "Gujarat",
                    "city": "Surat",
                    "postal": "395005",
                    "location": "21.1959,72.8302",
                    "org": "AS55836 Reliance Jio Infocomm Limited",
                    "timezone": "Asia/Kolkata"
                }
            }
        ]
    }
}
Modified at 2025-12-25 12:23:45
Previous
JWT Token
Built with