Languages: every operation supports cURL, Node.js (TypeScript), Python, Go, Ruby, and PHP. The first 15 operations on this page show all six languages; the remaining 80 show cURL and TypeScript — the two most-used.
WhatsApp API
WhatsApp endpoints exposed by the Devotel CPaaS API Base path:/api/v1/whatsapp
Endpoint count: 93
title: “Worked samples” description: “Read → update → re-read the conversational-automation config (ice breakers, slash commands, welcome toggle), an interactive send with the full envelope, the test-account analytics envelope, and validation errors.”
Worked request and response samples
Copy a request as written, substitute your own values, and compare the response envelope. The conversational-automation chain a WhatsApp admin runs: read the config → write the full desired state → re-read to verify. Every sample below pairs curl with raw Node and Python (fetch / requests) — the Node SDK’s client.request(method, path, body) escape hatch and the Python SDK take the same route shape.
Template sends live elsewhere. The loop for approved-template sends (GET /templates → POST /api/v1/messages/whatsapp) is worked end to end in API recipes, task 13. This overlay covers the operations on this page: the WhatsApp-specific config surface, interactive sends, and test-account analytics.
1. Read the conversational-automation config
GET /api/v1/whatsapp/conversational-automationprompts), and the slash-command menu (commands) — the same object you send back on update.
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/conversational-automation" \
-H "X-API-Key: dv_live_sk_your_key_here"
const res = await fetch(
"https://api.orbit.devotel.io/api/v1/whatsapp/conversational-automation",
{ headers: { "X-API-Key": process.env.ORBIT_API_KEY! } },
);
console.log(await res.json());
import os, requests
headers = {"X-API-Key": os.environ["ORBIT_API_KEY"]}
r = requests.get(
"https://api.orbit.devotel.io/api/v1/whatsapp/conversational-automation",
headers=headers,
)
print(r.json())
{
"data": {
"enable_welcome_message": true,
"prompts": [
"Track my order",
"Talk to support",
"See opening hours"
],
"commands": [
{
"command_name": "order_status",
"command_description": "Check where your order is"
},
{
"command_name": "support",
"command_description": "Open a support conversation"
}
]
},
"meta": {
"request_id": "req_wa_ca_get",
"timestamp": "2026-08-30T12:00:00.000Z"
}
}
2. Update the config (full desired state)
PUT /api/v1/whatsapp/conversational-automationprompts clears the ice breakers rather than leaving them as they were. Owners and admins only. command_name must be lowercase letters, digits, and underscores (no spaces); the caps — at most four ice breakers of 80 characters each, at most 30 commands — are validated here, so a bad config returns a 422 before it reaches Meta.
Request
cURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/whatsapp/conversational-automation" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"enable_welcome_message": true,
"prompts": [
"Track my order",
"Talk to support",
"See opening hours"
],
"commands": [
{
"command_name": "order_status",
"command_description": "Check where your order is"
},
{
"command_name": "support",
"command_description": "Open a support conversation"
}
]
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/whatsapp/conversational-automation', {
"enable_welcome_message": true,
"prompts": [
"Track my order",
"Talk to support",
"See opening hours"
],
"commands": [
{
"command_name": "order_status",
"command_description": "Check where your order is"
},
{
"command_name": "support",
"command_description": "Open a support conversation"
}
]
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "enable_welcome_message": True, "prompts": ["Track my order", "Talk to support", "See opening hours"], "commands": [{ "command_name": "order_status", "command_description": "Check where your order is" }, { "command_name": "support", "command_description": "Open a support conversation" }] }
result = client.request("PUT", "/whatsapp/conversational-automation", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"enable_welcome_message": true,"prompts": []any{"Track my order","Talk to support","See opening hours"},"commands": []any{map[string]any{"command_name": "order_status","command_description": "Check where your order is"},map[string]any{"command_name": "support","command_description": "Open a support conversation"}}}
if err := client.Request(ctx, "PUT", "/whatsapp/conversational-automation", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "enable_welcome_message" => true, "prompts" => ["Track my order", "Talk to support", "See opening hours"], "commands" => [{ "command_name" => "order_status", "command_description" => "Check where your order is" }, { "command_name" => "support", "command_description" => "Open a support conversation" }] }
result = client.request('PUT', '/whatsapp/conversational-automation', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["enable_welcome_message" => true, "prompts" => ["Track my order", "Talk to support", "See opening hours"], "commands" => [["command_name" => "order_status", "command_description" => "Check where your order is"], ["command_name" => "support", "command_description" => "Open a support conversation"]]];
$result = $client->request('PUT', '/whatsapp/conversational-automation', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_wa_ca_put",
"timestamp": "2026-08-30T12:00:05.000Z"
}
}
422 with the offending field in error.details — for example a command_name with a space or an upper-case letter:
422
{
"error": {
"code": "VALIDATION_ERROR",
"status": 422,
"message": "Request validation failed.",
"details": {
"field": "commands.0.command_name"
}
},
"meta": {
"request_id": "req_wa_ca_err",
"timestamp": "2026-08-30T12:00:06.000Z"
}
}
3. Send an interactive message
POST /api/v1/whatsapp/messages/send-interactiveaction.buttons takes up to three reply buttons; the tap returns on your inbound webhook as button_reply. A list menu (action.button + action.sections) is the alternative shape.
Request
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/messages/send-interactive" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"to": "+14155552671",
"header": "Order status",
"body": "Your order #4821 is packed. Choose an update:",
"action": {
"buttons": [
{
"type": "reply",
"reply": {
"id": "track",
"title": "Track it"
}
},
{
"type": "reply",
"reply": {
"id": "change",
"title": "Change delivery"
}
}
]
}
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/messages/send-interactive', {
"to": "+14155552671",
"header": "Order status",
"body": "Your order #4821 is packed. Choose an update:",
"action": {
"buttons": [
{
"type": "reply",
"reply": {
"id": "track",
"title": "Track it"
}
},
{
"type": "reply",
"reply": {
"id": "change",
"title": "Change delivery"
}
}
]
}
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "to": "+14155552671", "header": "Order status", "body": "Your order #4821 is packed. Choose an update:", "action": { "buttons": [{ "type": "reply", "reply": { "id": "track", "title": "Track it" } }, { "type": "reply", "reply": { "id": "change", "title": "Change delivery" } }] } }
result = client.request("POST", "/whatsapp/messages/send-interactive", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"to": "+14155552671","header": "Order status","body": "Your order #4821 is packed. Choose an update:","action": map[string]any{"buttons": []any{map[string]any{"type": "reply","reply": map[string]any{"id": "track","title": "Track it"}},map[string]any{"type": "reply","reply": map[string]any{"id": "change","title": "Change delivery"}}}}}
if err := client.Request(ctx, "POST", "/whatsapp/messages/send-interactive", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "to" => "+14155552671", "header" => "Order status", "body" => "Your order #4821 is packed. Choose an update:", "action" => { "buttons" => [{ "type" => "reply", "reply" => { "id" => "track", "title" => "Track it" } }, { "type" => "reply", "reply" => { "id" => "change", "title" => "Change delivery" } }] } }
result = client.request('POST', '/whatsapp/messages/send-interactive', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["to" => "+14155552671", "header" => "Order status", "body" => "Your order #4821 is packed. Choose an update:", "action" => ["buttons" => [["type" => "reply", "reply" => ["id" => "track", "title" => "Track it"]], ["type" => "reply", "reply" => ["id" => "change", "title" => "Change delivery"]]]]];
$result = $client->request('POST', '/whatsapp/messages/send-interactive', jsonBody: $body);
echo json_encode($result);
{
"data": {
"message_id": "wamid.HBgNMTIzNDU2Nzg5MGFiY2Rl",
"to": "+14155552671",
"status": "accepted"
},
"meta": {
"request_id": "req_wa_ix_send",
"timestamp": "2026-08-30T12:01:00.000Z"
}
}
4. Test-account analytics KPIs
GET /api/v1/whatsapp/test-account/analyticsdaily holds up to 30 data points, oldest first.
Request
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/test-account/analytics');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/test-account/analytics")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/test-account/analytics", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/test-account/analytics')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/test-account/analytics');
echo json_encode($result);
{
"data": {
"kpis": {
"sent": 128,
"delivered": 121,
"read": 87
},
"daily": [
{ "date": "2026-08-29", "sent": 6, "delivered": 6 },
{ "date": "2026-08-30", "sent": 4, "delivered": 4 }
]
},
"meta": {
"request_id": "req_wa_stats",
"timestamp": "2026-08-30T12:02:00.000Z"
}
}
SDK surface bridge — Send the anchored demo message, page its reply index, or pull the alias-index snapshot — everything against the sandbox key.
These three tabs mirror SDK status and coverage. Python fronts
client.request, Go fronts client.Request, and TS fronts fetch-TS — each with the sandbox key.Send the anchored demo message
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/messages/wa_demo/request" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"to": "+14155552671",
"type": "text"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/messages/wa_demo/request', {
"to": "+14155552671",
"type": "text"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "to": "+14155552671", "type": "text" }
result = client.request("POST", "/whatsapp/messages/wa_demo/request", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"to": "+14155552671","type": "text"}
if err := client.Request(ctx, "POST", "/whatsapp/messages/wa_demo/request", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "to" => "+14155552671", "type" => "text" }
result = client.request('POST', '/whatsapp/messages/wa_demo/request', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["to" => "+14155552671", "type" => "text"];
$result = $client->request('POST', '/whatsapp/messages/wa_demo/request', jsonBody: $body);
echo json_encode($result);
Alias a demo thread
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/messages/wa_demo/alias" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"lane": "alias"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/messages/wa_demo/alias', {
"lane": "alias"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "lane": "alias" }
result = client.request("POST", "/whatsapp/messages/wa_demo/alias", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"lane": "alias"}
if err := client.Request(ctx, "POST", "/whatsapp/messages/wa_demo/alias", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "lane" => "alias" }
result = client.request('POST', '/whatsapp/messages/wa_demo/alias', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["lane" => "alias"];
$result = $client->request('POST', '/whatsapp/messages/wa_demo/alias', jsonBody: $body);
echo json_encode($result);
Read the alias index
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/messages/wa_demo/alias-index" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/messages/wa_demo/alias-index');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/messages/wa_demo/alias-index")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/messages/wa_demo/alias-index", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/messages/wa_demo/alias-index')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/messages/wa_demo/alias-index');
echo json_encode($result);
List costs
GET /api/v1/whatsapp/analytics/costscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/analytics/costs" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/analytics/costs');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/analytics/costs")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/analytics/costs", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/analytics/costs')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/analytics/costs');
echo json_encode($result);
{
"data": {
"costs_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List templates
GET /api/v1/whatsapp/analytics/templatescURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/analytics/templates" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/analytics/templates');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/analytics/templates")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/analytics/templates", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/analytics/templates')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/analytics/templates');
echo json_encode($result);
{
"data": {
"templates_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List block-users
GET /api/v1/whatsapp/block-userscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/block-users" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/block-users');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/block-users")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/block-users", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/block-users')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/block-users');
echo json_encode($result);
{
"data": {
"block_users_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List business-profile
GET /api/v1/whatsapp/business-profilecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/business-profile" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/business-profile');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/business-profile")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/business-profile", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/business-profile')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/business-profile');
echo json_encode($result);
{
"data": {
"business_profile_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List catalogs
GET /api/v1/whatsapp/businesses/{businessId}/catalogscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/businesses/business_demo/catalogs" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/businesses/business_demo/catalogs');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/businesses/business_demo/catalogs")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/businesses/business_demo/catalogs", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/businesses/business_demo/catalogs')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/businesses/business_demo/catalogs');
echo json_encode($result);
{
"data": {
"catalogs_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List permissions
GET /api/v1/whatsapp/calling/permissionscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/calling/permissions" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/calling/permissions');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/calling/permissions")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/calling/permissions", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/calling/permissions')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/calling/permissions');
echo json_encode($result);
{
"data": {
"permissions_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List catalog
GET /api/v1/whatsapp/catalogcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/catalog" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/catalog');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/catalog")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/catalog", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/catalog')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/catalog');
echo json_encode($result);
{
"data": {
"catalog_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List catalogs
GET /api/v1/whatsapp/catalogscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/catalogs" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/catalogs');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/catalogs")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/catalogs", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/catalogs')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/catalogs');
echo json_encode($result);
{
"data": {
"catalogs_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List products
GET /api/v1/whatsapp/catalogs/{catalogId}/productscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/catalogs/catalog_demo/products" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/catalogs/catalog_demo/products');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/catalogs/catalog_demo/products")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/catalogs/catalog_demo/products", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/catalogs/catalog_demo/products')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/catalogs/catalog_demo/products');
echo json_encode($result);
{
"data": {
"products_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List connections
GET /api/v1/whatsapp/connectionscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/connections" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/connections');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/connections")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/connections", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/connections')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/connections');
echo json_encode($result);
{
"data": {
"connections_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List calling
GET /api/v1/whatsapp/connections/{phoneNumberId}/callingcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/connections/phoneNumber_demo/calling" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/connections/phoneNumber_demo/calling');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/connections/phoneNumber_demo/calling")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/connections/phoneNumber_demo/calling", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/connections/phoneNumber_demo/calling')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/connections/phoneNumber_demo/calling');
echo json_encode($result);
{
"data": {
"calling_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List exists
GET /api/v1/whatsapp/connections/existscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/connections/exists" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/connections/exists');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/connections/exists")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/connections/exists", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/connections/exists')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/connections/exists');
echo json_encode($result);
{
"data": {
"connections_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List conversational-automation
GET /api/v1/whatsapp/conversational-automationcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/conversational-automation" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/conversational-automation');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/conversational-automation")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/conversational-automation", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/conversational-automation')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/conversational-automation');
echo json_encode($result);
{
"data": {
"enable_welcome_message": true,
"prompts": [
"Track my order",
"Talk to a human"
],
"commands": [
{
"command_name": "hours",
"command_description": "Opening hours and holiday schedule"
}
]
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List search
GET /api/v1/whatsapp/conversations/searchcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/conversations/search" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/conversations/search');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/conversations/search")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/conversations/search", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/conversations/search')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/conversations/search');
echo json_encode($result);
{
"data": {
"conversations_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List flows
GET /api/v1/whatsapp/flowscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/flows" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/flows');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/flows")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/flows", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/flows')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/flows');
echo json_encode($result);
{
"data": {
"flows_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get flows
Need this flow in Python, Go, Ruby, or PHP? The Worked sequences section renders this surface’s hero flows in the full six-language group.
GET /api/v1/whatsapp/flows/{flowId}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/flows/flow_demo');
console.log(data)
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List funnel
GET /api/v1/whatsapp/flows/{flowId}/funnelcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo/funnel" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/flows/flow_demo/funnel');
console.log(data)
{
"data": {
"funnel_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List json
GET /api/v1/whatsapp/flows/{flowId}/jsoncURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo/json" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/flows/flow_demo/json');
console.log(data)
{
"data": {
"json_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List submissions
GET /api/v1/whatsapp/flows/{flowId}/submissionscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo/submissions" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/flows/flow_demo/submissions');
console.log(data)
{
"data": {
"submissions_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List health
GET /api/v1/whatsapp/healthcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/health" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/health');
console.log(data)
{
"data": {
"whatsapp_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List kb-config
GET /api/v1/whatsapp/kb-configcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/kb-config" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/kb-config');
console.log(data)
{
"data": {
"kb_config_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get media
GET /api/v1/whatsapp/media/{mediaId}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/media/media_demo" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/media/media_demo');
console.log(data)
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List download
GET /api/v1/whatsapp/media/{mediaId}/downloadcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/media/media_demo/download" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/media/media_demo/download');
console.log(data)
{
"data": {
"download_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List phone-numbers
GET /api/v1/whatsapp/phone-numberscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/phone-numbers" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/phone-numbers');
console.log(data)
{
"data": {
"phone_numbers_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List pricing-analytics
GET /api/v1/whatsapp/pricing-analyticscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/pricing-analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/pricing-analytics');
console.log(data)
{
"data": {
"pricing_analytics_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List quality
GET /api/v1/whatsapp/qualitycURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/quality" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/quality');
console.log(data)
{
"data": {
"quality_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List status
GET /api/v1/whatsapp/statuscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/status" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/status');
console.log(data)
{
"data": {
"whatsapp_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List templates
GET /api/v1/whatsapp/templatescURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/templates" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/templates');
console.log(data)
{
"data": {
"templates_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List library
GET /api/v1/whatsapp/templates/librarycURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/templates/library" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/templates/library');
console.log(data)
{
"data": {
"library_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List analytics
GET /api/v1/whatsapp/test-account/analyticscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/test-account/analytics');
console.log(data)
{
"data": {
"kpis": {
"sent": 128,
"delivered": 121,
"read": 87
},
"daily": [
{
"date": "2026-08-25",
"sent": 6,
"delivered": 6
},
{
"date": "2026-08-26",
"sent": 4,
"delivered": 4
}
]
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List calling-availability
GET /api/v1/whatsapp/test-account/calling-availabilitycURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/calling-availability" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/test-account/calling-availability');
console.log(data)
{
"data": {
"calling_availability_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List catalog
GET /api/v1/whatsapp/test-account/catalogcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/catalog" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/test-account/catalog');
console.log(data)
{
"data": {
"catalog_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List flows
GET /api/v1/whatsapp/test-account/flowscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/flows" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/test-account/flows');
console.log(data)
{
"data": {
"flows_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List status
GET /api/v1/whatsapp/test-account/statuscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/status" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/test-account/status');
console.log(data)
{
"data": {
"test_account_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List webhook
GET /api/v1/whatsapp/webhookcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/webhook" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/webhook');
console.log(data)
{
"data": {
"webhook_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Block-users whatsapp
POST /api/v1/whatsapp/block-userscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/block-users" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/block-users', {});
console.log(data)
{
"data": {
"block_users_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Picture business-profile
POST /api/v1/whatsapp/business-profile/picturecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/business-profile/picture" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/business-profile/picture', {});
console.log(data)
{
"data": {
"picture_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create accept
POST /api/v1/whatsapp/calling/calls/{metaCallId}/acceptcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/calling/calls/metaCall_demo/accept" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/calling/calls/metaCall_demo/accept', {});
console.log(data)
{
"data": {
"accept_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create decline
POST /api/v1/whatsapp/calling/calls/{metaCallId}/declinecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/calling/calls/metaCall_demo/decline" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/calling/calls/metaCall_demo/decline', {});
console.log(data)
{
"data": {
"decline_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create accept
POST /api/v1/whatsapp/calls/{callId}/acceptcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/calls/call_demo/accept" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/calls/call_demo/accept', {});
console.log(data)
{
"data": {
"accept_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create pre_accept
POST /api/v1/whatsapp/calls/{callId}/pre_acceptcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/calls/call_demo/pre_accept" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/calls/call_demo/pre_accept', {});
console.log(data)
{
"data": {
"pre_accept_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create reject
POST /api/v1/whatsapp/calls/{callId}/rejectcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/calls/call_demo/reject" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/calls/call_demo/reject', {});
console.log(data)
{
"data": {
"reject_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create terminate
POST /api/v1/whatsapp/calls/{callId}/terminatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/calls/call_demo/terminate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/calls/call_demo/terminate', {});
console.log(data)
{
"data": {
"terminate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Initiate calls
POST /api/v1/whatsapp/calls/initiatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/calls/initiate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/calls/initiate', {});
console.log(data)
{
"data": {
"initiate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Permission calls
POST /api/v1/whatsapp/calls/permissioncURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/calls/permission" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/calls/permission', {});
console.log(data)
{
"data": {
"permission_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send catalog
POST /api/v1/whatsapp/catalog/sendcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/catalog/send" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/catalog/send', {});
console.log(data)
{
"data": {
"send_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send-list catalog
POST /api/v1/whatsapp/catalog/send-listcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/catalog/send-list" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/catalog/send-list', {});
console.log(data)
{
"data": {
"send_list_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Catalogs whatsapp
POST /api/v1/whatsapp/catalogscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/catalogs" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/catalogs', {});
console.log(data)
{
"data": {
"catalogs_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create products
POST /api/v1/whatsapp/catalogs/{catalogId}/productscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/catalogs/catalog_demo/products" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/catalogs/catalog_demo/products', {});
console.log(data)
{
"data": {
"products_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create send
POST /api/v1/whatsapp/catalogs/{catalogId}/sendcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/catalogs/catalog_demo/send" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/catalogs/catalog_demo/send', {});
console.log(data)
{
"data": {
"send_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Connect whatsapp
POST /api/v1/whatsapp/connectcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/connect" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/connect', {});
console.log(data)
{
"data": {
"connect_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Disable calling
POST /api/v1/whatsapp/connections/{phoneNumberId}/calling/disablecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/connections/phoneNumber_demo/calling/disable" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/connections/phoneNumber_demo/calling/disable', {});
console.log(data)
{
"data": {
"calling_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Enable calling
POST /api/v1/whatsapp/connections/{phoneNumberId}/calling/enablecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/connections/phoneNumber_demo/calling/enable" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/connections/phoneNumber_demo/calling/enable', {});
console.log(data)
{
"data": {
"calling_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Register-webhook calling
POST /api/v1/whatsapp/connections/{phoneNumberId}/calling/register-webhookcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/connections/phoneNumber_demo/calling/register-webhook" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/connections/phoneNumber_demo/calling/register-webhook', {});
console.log(data)
{
"data": {
"register_webhook_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create archive
POST /api/v1/whatsapp/conversations/{conversationId}/archivecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/conversations/conv_8b2c4d6e1f/archive" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/conversations/conv_8b2c4d6e1f/archive', {});
console.log(data)
{
"data": {
"archive_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create read
POST /api/v1/whatsapp/conversations/{conversationId}/readcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/conversations/conv_8b2c4d6e1f/read" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/conversations/conv_8b2c4d6e1f/read', {});
console.log(data)
{
"data": {
"read_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create resolve-bsuid
POST /api/v1/whatsapp/conversations/{conversationId}/resolve-bsuidcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/conversations/conv_8b2c4d6e1f/resolve-bsuid" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/conversations/conv_8b2c4d6e1f/resolve-bsuid', {});
console.log(data)
{
"data": {
"resolve_bsuid_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Estimate WhatsApp marketing campaign cost
POST /api/v1/whatsapp/cost-optimizer/estimatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/cost-optimizer/estimate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"recipientCount": 0
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/cost-optimizer/estimate', {
"recipientCount": 0
});
console.log(data)
{
"data": {
"estimate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Plan WhatsApp campaign cost optimization
POST /api/v1/whatsapp/cost-optimizer/plancURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/cost-optimizer/plan" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"sends": []
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/cost-optimizer/plan', {
"sends": []
});
console.log(data)
{
"data": {
"plan_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Flows whatsapp
POST /api/v1/whatsapp/flowscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/flows" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/flows', {});
console.log(data)
{
"data": {
"flows_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create assets
POST /api/v1/whatsapp/flows/{flowId}/assetscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo/assets" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/flows/flow_demo/assets', {});
console.log(data)
{
"data": {
"assets_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create publish
POST /api/v1/whatsapp/flows/{flowId}/publishcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo/publish" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/flows/flow_demo/publish', {});
console.log(data)
{
"data": {
"publish_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Generate flows
POST /api/v1/whatsapp/flows/generatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/flows/generate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/flows/generate', {});
console.log(data)
{
"data": {
"generate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Kb-config whatsapp
POST /api/v1/whatsapp/kb-configcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/kb-config" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/kb-config', {});
console.log(data)
{
"data": {
"kb_config_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send WhatsApp marketing message
POST /api/v1/whatsapp/marketing-messages/sendtracking_id correlates status webhooks back to a campaign/journey.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/marketing-messages/send" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"to": "+14155552671",
"template_name": "string",
"language_code": "string"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/marketing-messages/send', {
"to": "+14155552671",
"template_name": "string",
"language_code": "string"
});
console.log(data)
{
"data": {
"message_id": "wamid.HBgNMjEyMzQ1Njc4OTEaAhIA",
"to": "+15551234567",
"template_name": "summer_sale_launch",
"tracking_id": "cmp_42",
"status": "accepted"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create read
POST /api/v1/whatsapp/messages/{messageId}/readcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/messages/message_demo/read" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/messages/message_demo/read', {});
console.log(data)
{
"data": {
"read_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send WhatsApp address-request message
POST /api/v1/whatsapp/messages/send-address-requestcountry (ISO 3166-1 alpha-2) selects the field set Meta renders. The reply arrives as an address_message interactive reply on the inbound webhook.
Optional previously-saved addresses the recipient can pick from, in markets that support it.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/messages/send-address-request" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"to": "+14155552671",
"body": "string",
"country": "string"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/messages/send-address-request', {
"to": "+14155552671",
"body": "string",
"country": "string"
});
console.log(data)
{
"data": {
"send_address_request_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send-flow messages
POST /api/v1/whatsapp/messages/send-flowcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/messages/send-flow" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/messages/send-flow', {});
console.log(data)
{
"data": {
"send_flow_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send WhatsApp interactive message
POST /api/v1/whatsapp/messages/send-interactiveaction is one of (max 3 reply buttons), (list menu, max 10 sections × 10 rows), or (a single labelled https link button).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/messages/send-interactive" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"to": "+14155552671",
"body": "string",
"action": {}
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/messages/send-interactive', {
"to": "+14155552671",
"body": "string",
"action": {}
});
console.log(data)
{
"data": {
"message_id": "wamid.HBgNMjEyMzQ1Njc4OTEaAhIA",
"to": "+15551234567",
"status": "accepted"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send WhatsApp location-request message
POST /api/v1/whatsapp/messages/send-location-requestcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/messages/send-location-request" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"to": "+14155552671",
"body": "string"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/messages/send-location-request', {
"to": "+14155552671",
"body": "string"
});
console.log(data)
{
"data": {
"send_location_request_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Request-code phone
POST /api/v1/whatsapp/phone/request-codecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/phone/request-code" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/phone/request-code', {});
console.log(data)
{
"data": {
"request_code_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Verify-code phone
POST /api/v1/whatsapp/phone/verify-codecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/phone/verify-code" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/phone/verify-code', {});
console.log(data)
{
"data": {
"verify_code_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create edit
POST /api/v1/whatsapp/templates/{externalId}/editcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/templates/external_demo/edit" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/templates/external_demo/edit', {});
console.log(data)
{
"data": {
"edit_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Generate templates
POST /api/v1/whatsapp/templates/generatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/templates/generate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/templates/generate', {});
console.log(data)
{
"data": {
"generate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Library templates
POST /api/v1/whatsapp/templates/librarycURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/templates/library" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/templates/library', {});
console.log(data)
{
"data": {
"library_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Sync templates
POST /api/v1/whatsapp/templates/synccURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/templates/sync" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/templates/sync', {});
console.log(data)
{
"data": {
"templates_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Change-number test-account
POST /api/v1/whatsapp/test-account/change-numbercURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/change-number" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/test-account/change-number', {});
console.log(data)
{
"data": {
"change_number_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Clear-verification test-account
POST /api/v1/whatsapp/test-account/clear-verificationcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/clear-verification" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/test-account/clear-verification', {});
console.log(data)
{
"data": {
"clear_verification_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send-otp test-account
POST /api/v1/whatsapp/test-account/send-otpcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/send-otp" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/test-account/send-otp', {});
console.log(data)
{
"data": {
"send_otp_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Verify-otp test-account
POST /api/v1/whatsapp/test-account/verify-otpcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/test-account/verify-otp" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/test-account/verify-otp', {});
console.log(data)
{
"data": {
"verify_otp_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Unblock-users whatsapp
POST /api/v1/whatsapp/unblock-userscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/unblock-users" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/unblock-users', {});
console.log(data)
{
"data": {
"unblock_users_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Webhook whatsapp
POST /api/v1/whatsapp/webhookcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/whatsapp/webhook" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/whatsapp/webhook', {});
console.log(data)
{
"data": {
"webhook_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update business-profile
PUT /api/v1/whatsapp/business-profilecURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/whatsapp/business-profile" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/whatsapp/business-profile', {});
console.log(data)
{
"data": {
"business_profile_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update default
PUT /api/v1/whatsapp/connections/{phoneNumberId}/defaultcURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/whatsapp/connections/phoneNumber_demo/default" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/whatsapp/connections/phoneNumber_demo/default', {});
console.log(data)
{
"data": {
"default_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update conversational-automation
PUT /api/v1/whatsapp/conversational-automationcURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/whatsapp/conversational-automation" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/whatsapp/conversational-automation', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update products
PUT /api/v1/whatsapp/products/{productId}cURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/whatsapp/products/product_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/whatsapp/products/product_demo', {});
console.log(data)
{
"data": {
"products_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch connections
PATCH /api/v1/whatsapp/connections/{phoneNumberId}cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/whatsapp/connections/phoneNumber_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/whatsapp/connections/phoneNumber_demo', {});
console.log(data)
{
"data": {
"connections_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete catalogs
DELETE /api/v1/whatsapp/catalogs/{catalogId}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/whatsapp/catalogs/catalog_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/whatsapp/catalogs/catalog_demo', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete connections
DELETE /api/v1/whatsapp/connections/{phoneNumberId}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/whatsapp/connections/phoneNumber_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/whatsapp/connections/phoneNumber_demo', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete disconnect
DELETE /api/v1/whatsapp/disconnectcURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/whatsapp/disconnect" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/whatsapp/disconnect', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete flows
DELETE /api/v1/whatsapp/flows/{flowId}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/whatsapp/flows/flow_demo', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete products
DELETE /api/v1/whatsapp/products/{productId}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/whatsapp/products/product_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/whatsapp/products/product_demo', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete templates
DELETE /api/v1/whatsapp/templates/{name}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/whatsapp/templates/sample-handle" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/whatsapp/templates/sample-handle', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Worked sequences
The page above trims every operation past the fifteenth to cURL plus TypeScript. This section renders the first hero flow(s) past the cut in the full six-language group, so the operation a pipeline reaches next is copy-paste complete.Get flows
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/flows/flow_demo');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/flows/flow_demo")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/flows/flow_demo", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/flows/flow_demo')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/flows/flow_demo');
echo json_encode($result);
List funnel
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/whatsapp/flows/flow_demo/funnel" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/whatsapp/flows/flow_demo/funnel');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/whatsapp/flows/flow_demo/funnel")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/whatsapp/flows/flow_demo/funnel", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/whatsapp/flows/flow_demo/funnel')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/whatsapp/flows/flow_demo/funnel');
echo json_encode($result);