Connect your systems to Sehaby

Work with any system today through the API and webhooks: your system sends an event, and the platform sends the approved template linked to it.

Available now

Available now

Building blocks your developers can use today.

Available now

REST API with keys

Create an API key in your dashboard and send approved templates from any system. The key is shown once and can be revoked at any time.

API key

wc_••••••••••••3f9a

Shown once · revoke any time

Available now

Inbound events endpoint

Send an event such as a new order from your system, and the platform sends the approved template linked to it.

Supported events

  • Order createdorder.created
  • Shipment updatedshipment.updated
  • Cart abandonedcart.abandoned
  • Appointment reminderappointment.reminder
Available now

Signed outbound webhooks

Receive platform events in your system, such as a new message, a status change or a closed conversation. Every request is signed so you can verify it.

Available now

CSV import and export

Import contacts from a file with an error preview before saving, and export your data at any time.

How events work

An event in your system, a message to your customer

Link each event type to an approved template once. From then on, your system only sends the event and the customer gets the message.

  1. 1

    An event happens

    A new order in your store or a booking in your system.

  2. 2

    Your system sends it

    The event reaches your account's inbound events endpoint.

  3. 3

    The customer gets the message

    The linked approved template or flow runs automatically.

API

Example: send an approved template

One request from your system sends an order confirmation to your customer.

Full API documentation and a Postman collection are available to subscribers in the dashboard.

POST /v1/messages
curl -X POST https://api.sehaby.com/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+966500010101",
    "template": "order_confirmation",
    "language": "ar",
    "variables": ["Noura", "Rayhan", "RY-10520", "480", "2 days"]
  }'
HTTP/1.1 202 Accepted

{
  "id": "msg_01J8ZK4R2Q",
  "status": "queued"
}

Want to connect your system to Sehaby?

Tell us which system you use, and we'll show you how to connect it through the API and webhooks.