1. Events
Tjar
  • 🗂️ Overview
  • 🚀 Start Here
  • Orders
    • List Orders
    • Get Order Details
    • Order Statuses
    • Create Order
    • Change Order Status
  • Products
    • Digital
      • Create Digital Product
      • Get Digital Product Details
      • Update Digital Product
    • Booking
      • Get Booking Product Details
      • Create Booking Product
      • Update Booking Product
    • Service
      • Get Service Product
      • Create Service Product
      • Update Service Product
    • Physical
      • Get Physical Product Details
      • Create Physical Product
      • Update Physical Product
    • List All Products
    • Get Product Details
    • Delete Product
  • Media
    • Upload Media
    • Upload Multiple Media
    • Update Media
  • Webhook
    • Events
      • Cart Abandoned
      • Order Created
      • Order Created
      • Order Status Changed
      • Order Updated
      • Product Created
      • Product Deleted
      • Product Updated
      • Product Review Submitted
      • Product Stock Update
      • Customer Created
      • Customer Updated
      • Customer Login
      • Customer Welcome
      • Customer OTP Sent
      • Category Created
      • Category Updated
      • Category Deleted
      • Brand Created
      • Brand Updated
      • Brand Deleted
    • List Webhooks
      GET
    • Register Webhook
      POST
    • Update Webhook
      PUT
    • Delete Webhook
      DELETE
    • Verify Signature
      POST
    • Refresh Secret
      POST
    • Webhook Events
      GET
  • Abandoned Cart
    • List Abandoned Carts
    • Get Abandoned Cart Details
    • Send Reminder
  1. Events

Customer OTP Sent

Customer OTP Sent Webhook#

Triggered when a one-time password (OTP) is sent to a customer.

Event Name#

customer.otp.sent

Payload Example#

{
  "event": "customer.otp.sent",
  "created_at": "2026-08-01T01:18:41+03:00",
  "data": {
    "channel": "mobile",
    "destination": "966590357996",
    "code": 1234,
    "sent_at": "2026-08-01 01:18:41"
  }
}

Payload Schema#

Root Object#

FieldTypeDescription
eventstringWebhook event name
created_atdatetimeEvent creation timestamp
dataobjectEvent payload

Data Object#

FieldTypeDescription
channelstringDelivery channel (e.g. mobile, email)
destinationstringRecipient address (phone number or email)
codeintegerThe OTP code sent
sent_atdatetimeTimestamp the OTP was sent

Response#

Your endpoint should return:
Modified at 2026-07-31 22:22:52
Previous
Customer Welcome
Next
Category Created
Built with