মূল কনটেন্টে যান
REST API & Webhooks logo

ZendSMS ইন্টিগ্রেশন নির্দেশিকা

HTTPS JSON API

সরাসরি ZendSMS API ব্যবহার করে তৈরি করুন।

Authenticated REST endpoint দিয়ে SMS ও OTP পাঠান, তারপর message ID ও delivery information নিজস্ব system-এর সঙ্গে যুক্ত করুন।

REST API & Webhooks logoREST API & WebhooksBusiness event
ZendSMS202 QUEUED
YOURBRAND

আপনার ZS-2048 service request এখন process করা হচ্ছে।

✓ Delivered
Integration typeHTTPS JSON API
Security patternশুধু server-side
Response202 Accepted + message_id

Common workflows

REST API & Webhooks থেকে কী পাঠাতে পারেন।

Product, mobile app, CRM, ERP ও internal system-এর জন্য flexible integration path।

01

SMS পাঠান

নিজস্ব client reference দিয়ে approved business message queue করুন।

02

OTP পাঠান ও যাচাই করুন

Dedicated OTP endpoint দিয়ে server-side verification flow তৈরি করুন।

03

ডেলিভারি স্ট্যাটাস

Message identifier ব্যবহার করে message state মিলিয়ে নিন।

04

ব্যালেন্স ও কন্ট্রোল

Documented endpoint থেকে supported account information দেখুন।

Verified API pattern

একটি business event থেকে একটি trackable SMS।

নিচের request ZendSMS-এর current Send SMS reference-এর field ব্যবহার করে। API key secret store-এ রাখুন, unique client_ref দিন এবং accepted response-এর message_id সংরক্ষণ করুন।

  1. 01

    Workflow ঠিক করুন

    কোন event-এ কাকে কোন message পাঠানো হবে তা নির্ধারণ করুন।

  2. 02

    Secure connection দিন

    API key শুধু server-এ রেখে HTTPS request তৈরি করুন।

  3. 03

    Template map করুন

    Approved sender ID, recipient, message ও client reference map করুন।

  4. 04

    Test করে চালু করুন

    Test number-এ result, segment ও delivery state দেখে production চালু করুন।

POST /api/v1/send-sms202
Authorization: Bearer sk_your_api_key
{
    "recipient": "8801700000000",
    "sender_id": "YOURBRAND",
    "message": "আপনার ZS-2048 service request এখন process করা হচ্ছে।",
    "client_ref": "api-request-2048"
}
success: truestatus: QUEUEDmessage_id: UUID
সম্পূর্ণ Send SMS reference দেখুন

Included in the workflow

শুধু send নয়, production-ready flow তৈরি করুন।

সঠিক event-এ SMS

নির্বাচিত business event ঘটলে তবেই message পাঠান।

সব core SMS type

Use case অনুযায়ী OTP, Masking বা Non-Masking SMS ব্যবহার করুন।

Track করার মতো reference

নিজস্ব client reference ও returned message ID সংরক্ষণ করুন।

Bangla ও Unicode

Customer-এর প্রয়োজন অনুযায়ী Bangla, English বা Unicode content পাঠান।

REST API & Webhooks FAQ

Production চালুর আগে উত্তরগুলো দেখে নিন।

Security, SMS type, delivery reconciliation ও testing-এর সংক্ষিপ্ত guide।

REST API & Webhooks integration কি browser থেকে API call করবে?

না। Secret API key কখনো browser বা public JavaScript-এ রাখা উচিত নয়। Request trusted server, backend function বা protected connector থেকে পাঠান।

REST API & Webhooks থেকে কী ধরনের SMS পাঠানো যাবে?

Approved use case অনুযায়ী OTP, Masking ও Non-Masking SMS পাঠানো যায়। Sender ID ও template activation KYC, document এবং প্রযোজ্য operator বা regulatory approval-এর ওপর নির্ভরশীল।

Delivery result কীভাবে মিলাব?

প্রতিটি request-এ একটি unique client_ref দিন এবং accepted response-এর message_id সংরক্ষণ করুন। তারপর current API documentation অনুযায়ী delivery status reconcile করুন।

Setup চালুর আগে কী test করা উচিত?

Event mapping, recipient format, Bangla/Unicode segment, duplicate prevention, error handling এবং delivery result test করুন। Production চালুর আগে consent ও compliance review সম্পন্ন করুন।

Setup শুরু করতে প্রস্তুত?

REST API & Webhooks workflow নিয়ে ZendSMS team-এর সঙ্গে কথা বলুন।

WhatsApp-এ কথা বলুন
WhatsApp-এ চ্যাট করুন