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 70 show cURL and TypeScript — the two most-used.
Wfm API
Wfm endpoints exposed by the Devotel CPaaS API Base path:/api/v1/wfm
Endpoint count: 83
Overview summary response shape
GET /api/v1/wfm/summary aggregates the whole scheduling overview in one response. The blocks below are the same shape the endpoint returns — every count is as-of-query-time, mirroring the list endpoints it reads from, so the KPI chip on the dashboard and the drill-in page it links to never disagree. Pass ?date=YYYY-MM-DD to pin a day; omit it and the date resolves to the tenant’s local operating day (same resolution the intraday panels use). The Node SDK has no typed summary() helper — call it through the generic request() escape hatch below.
Request
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/summary?date=2026-08-27" \
-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', '/wfm/summary?date=2026-08-27');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/summary?date=2026-08-27")
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", "/wfm/summary?date=2026-08-27", 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', '/wfm/summary?date=2026-08-27')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/summary?date=2026-08-27');
echo json_encode($result);
{
"data": {
"date": "2026-08-27",
"generated_at": "2026-08-27T13:42:11.802Z",
"operating_date_is_override": false,
"forecast": {
"channels": 2,
"intervals": 96,
"required_agent_minutes": 14820,
"by_channel": [
{ "channel": "voice", "intervals": 48, "required_agent_minutes": 9410 },
{ "channel": "sms", "intervals": 48, "required_agent_minutes": 5410 }
]
},
"staffing": {
"agents_scheduled": 12,
"assignments": 14,
"scheduled_minutes": 6520
},
"open_shifts": {
"open_count": 3,
"pending_bids": 1
},
"requests": {
"pending_total": 5,
"by_type": [
{ "type": "time_off", "count": 3 },
{ "type": "shift_swap", "count": 2 }
]
},
"adherence": {
"open_events": 4,
"non_adherent_open_events": 1,
"unevaluated_open_events": 2
},
"overtime": {
"open_offers": 2
},
"vto": {
"open_offers": 1
},
"exceptions": {
"pending_count": 6
}
},
"meta": {
"request_id": "req_9f1c4a7b2d8e",
"timestamp": "2026-08-27T13:42:11.802Z"
}
}
operating_date_is_override—truewhen you passed?date=YYYY-MM-DDexplicitly;falsewhen the date resolved to your tenant’s local operating day (the same resolution the intraday staffing and adherence panels use).forecast—nullwhen no forecast rows exist for the day; otherwise per-channel required agent-minutes (required_agents × interval), resolved with the same math the forecast scheduler writes.staffing—nullwhen no roster exists for the day; otherwise the distinct agents rostered, assignment rows, and shift-window minutes (paid-included) resolved in each shift’s local timezone — matching the adherence scorer exactly across DST boundaries and midnight-spanning shifts.requests— the agent self-serve queue; scoped to the caller. Managers (“owner”/“admin”) see org-wide counts; agents see only their own pending requests — the same scoping/wfm/requestsapplies, so the chip total and the page count cannot diverge.adherence— live open events right now, split into currently non-adherent and awaiting-the-scorer buckets.exceptions— adherence exceptions pending supervisor review only; approved/denied/cancelled close them, mirroring/wfm/adherence-exceptions.
Worked request and response samples
Copy the request as written, substitute your own ids, and compare the response envelope — a success in the same shape the numbered error sections spell out.Open a shift for bids
POST /api/v1/wfm/open-shiftscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/open-shifts" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"starts_at": "2026-09-09T14:00:00Z",
"ends_at": "2026-09-09T22:00:00Z",
"skill": "spanish-support"
}'
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', '/wfm/open-shifts', {
"starts_at": "2026-09-09T14:00:00Z",
"ends_at": "2026-09-09T22:00:00Z",
"skill": "spanish-support"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "starts_at": "2026-09-09T14:00:00Z", "ends_at": "2026-09-09T22:00:00Z", "skill": "spanish-support" }
result = client.request("POST", "/wfm/open-shifts", 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{"starts_at": "2026-09-09T14:00:00Z","ends_at": "2026-09-09T22:00:00Z","skill": "spanish-support"}
if err := client.Request(ctx, "POST", "/wfm/open-shifts", 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 = { "starts_at" => "2026-09-09T14:00:00Z", "ends_at" => "2026-09-09T22:00:00Z", "skill" => "spanish-support" }
result = client.request('POST', '/wfm/open-shifts', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["starts_at" => "2026-09-09T14:00:00Z", "ends_at" => "2026-09-09T22:00:00Z", "skill" => "spanish-support"];
$result = $client->request('POST', '/wfm/open-shifts', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "shift_91e4b7c2d5f80316",
"skill": "spanish-support",
"state": "open"
},
"meta": {
"request_id": "req_wfm",
"timestamp": "2026-09-08T12:00:00Z"
}
}
List adherence
GET /api/v1/wfm/adherencecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/adherence" \
-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', '/wfm/adherence');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/adherence")
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", "/wfm/adherence", 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', '/wfm/adherence')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/adherence');
echo json_encode($result);
{
"data": {
"adherence_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List adherence-exceptions
GET /api/v1/wfm/adherence-exceptionscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/adherence-exceptions" \
-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', '/wfm/adherence-exceptions');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/adherence-exceptions")
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", "/wfm/adherence-exceptions", 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', '/wfm/adherence-exceptions')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/adherence-exceptions');
echo json_encode($result);
{
"data": {
"adherence_exceptions_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List trends
GET /api/v1/wfm/adherence-exceptions/trendscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/adherence-exceptions/trends" \
-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', '/wfm/adherence-exceptions/trends');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/adherence-exceptions/trends")
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", "/wfm/adherence-exceptions/trends", 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', '/wfm/adherence-exceptions/trends')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/adherence-exceptions/trends');
echo json_encode($result);
{
"data": {
"trends_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List conformance
GET /api/v1/wfm/adherence/conformancecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/adherence/conformance" \
-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', '/wfm/adherence/conformance');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/adherence/conformance")
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", "/wfm/adherence/conformance", 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', '/wfm/adherence/conformance')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/adherence/conformance');
echo json_encode($result);
{
"data": {
"conformance_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List intraday
GET /api/v1/wfm/adherence/intradaycURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/adherence/intraday" \
-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', '/wfm/adherence/intraday');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/adherence/intraday")
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", "/wfm/adherence/intraday", 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', '/wfm/adherence/intraday')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/adherence/intraday');
echo json_encode($result);
{
"data": {
"intraday_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List team
GET /api/v1/wfm/adherence/teamcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/adherence/team" \
-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', '/wfm/adherence/team');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/adherence/team")
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", "/wfm/adherence/team", 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', '/wfm/adherence/team')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/adherence/team');
echo json_encode($result);
{
"data": {
"team_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List agent-flight-risk
GET /api/v1/wfm/agent-flight-riskcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/agent-flight-risk" \
-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', '/wfm/agent-flight-risk');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/agent-flight-risk")
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", "/wfm/agent-flight-risk", 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', '/wfm/agent-flight-risk')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/agent-flight-risk');
echo json_encode($result);
{
"data": {
"agent_flight_risk_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List the per-agent skill registry
GET /api/v1/wfm/agent-skillscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/agent-skills" \
-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', '/wfm/agent-skills');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/agent-skills")
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", "/wfm/agent-skills", 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', '/wfm/agent-skills')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/agent-skills');
echo json_encode($result);
{
"data": {
"agent_skills_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List agent-wellness
GET /api/v1/wfm/agent-wellnesscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/agent-wellness" \
-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', '/wfm/agent-wellness');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/agent-wellness")
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", "/wfm/agent-wellness", 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', '/wfm/agent-wellness')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/agent-wellness');
echo json_encode($result);
{
"data": {
"agent_wellness_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List assignments
GET /api/v1/wfm/assignmentscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/assignments" \
-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', '/wfm/assignments');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/assignments")
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", "/wfm/assignments", 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', '/wfm/assignments')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/assignments');
echo json_encode($result);
{
"data": {
"assignments_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get assignments
GET /api/v1/wfm/assignments/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
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", "/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", 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', '/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List forecasts
GET /api/v1/wfm/forecastscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/forecasts" \
-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', '/wfm/forecasts');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/forecasts")
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", "/wfm/forecasts", 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', '/wfm/forecasts')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/forecasts');
echo json_encode($result);
{
"data": {
"forecasts_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List accuracy
GET /api/v1/wfm/forecasts/accuracycURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/forecasts/accuracy" \
-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', '/wfm/forecasts/accuracy');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/forecasts/accuracy")
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", "/wfm/forecasts/accuracy", 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', '/wfm/forecasts/accuracy')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/forecasts/accuracy');
echo json_encode($result);
{
"data": {
"accuracy_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List staffing
GET /api/v1/wfm/intraday/staffingcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/intraday/staffing" \
-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', '/wfm/intraday/staffing');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/intraday/staffing")
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", "/wfm/intraday/staffing", 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', '/wfm/intraday/staffing')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/intraday/staffing');
echo json_encode($result);
{
"data": {
"staffing_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List leave-balances
GET /api/v1/wfm/leave-balancescURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/leave-balances" \
-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', '/wfm/leave-balances');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/leave-balances")
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", "/wfm/leave-balances", 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', '/wfm/leave-balances')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/leave-balances');
echo json_encode($result);
{
"data": {
"leave_balances_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get leave-balances
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/wfm/leave-balances/{agentId}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/leave-balances/agt_7e3b9c1f" \
-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', '/wfm/leave-balances/agt_7e3b9c1f');
console.log(data)
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List leave-policies
GET /api/v1/wfm/leave-policiescURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/leave-policies" \
-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', '/wfm/leave-policies');
console.log(data)
{
"data": {
"leave_policies_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List open-shifts
GET /api/v1/wfm/open-shiftscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/open-shifts" \
-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', '/wfm/open-shifts');
console.log(data)
{
"data": {
"open_shifts_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get open-shifts
GET /api/v1/wfm/open-shifts/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List bids
GET /api/v1/wfm/open-shifts/{id}/bidscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bids" \
-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', '/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bids');
console.log(data)
{
"data": {
"bids_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List overtime-offers
GET /api/v1/wfm/overtime-offerscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/overtime-offers" \
-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', '/wfm/overtime-offers');
console.log(data)
{
"data": {
"overtime_offers_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get overtime-offers
GET /api/v1/wfm/overtime-offers/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List claims
GET /api/v1/wfm/overtime-offers/{id}/claimscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims" \
-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', '/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims');
console.log(data)
{
"data": {
"claims_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List requests
GET /api/v1/wfm/requestscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/requests" \
-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', '/wfm/requests');
console.log(data)
{
"data": {
"requests_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get requests
GET /api/v1/wfm/requests/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List breaches
GET /api/v1/wfm/rta/breachescURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/rta/breaches" \
-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', '/wfm/rta/breaches');
console.log(data)
{
"data": {
"breaches_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List stream
GET /api/v1/wfm/rta/streamcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/rta/stream" \
-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', '/wfm/rta/stream');
console.log(data)
{
"data": {
"stream_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List shifts
GET /api/v1/wfm/shiftscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/shifts" \
-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', '/wfm/shifts');
console.log(data)
{
"data": {
"shifts_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get shifts
GET /api/v1/wfm/shifts/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List activities
GET /api/v1/wfm/shifts/{shiftId}/activitiescURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/shifts/shift_demo/activities" \
-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', '/wfm/shifts/shift_demo/activities');
console.log(data)
{
"data": {
"activities_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List shrinkage
GET /api/v1/wfm/shrinkagecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/shrinkage" \
-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', '/wfm/shrinkage');
console.log(data)
{
"data": {
"shrinkage_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the WFM overview summary
GET /api/v1/wfm/summaryOperating-date override (YYYY-MM-DD). Defaults to the tenant’s local operating day — the same resolution the intraday staffing and adherence panels use.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/summary" \
-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', '/wfm/summary');
console.log(data)
{
"data": {
"date": "2026-08-27",
"generated_at": "2026-08-27T13:42:11.802Z",
"operating_date_is_override": false,
"forecast": {
"channels": 2,
"intervals": 96,
"required_agent_minutes": 14820,
"by_channel": [
{ "channel": "voice", "intervals": 48, "required_agent_minutes": 9410 },
{ "channel": "sms", "intervals": 48, "required_agent_minutes": 5410 }
]
},
"staffing": {
"agents_scheduled": 12,
"assignments": 14,
"scheduled_minutes": 6520
},
"open_shifts": {
"open_count": 3,
"pending_bids": 1
},
"requests": {
"pending_total": 5,
"by_type": [
{ "type": "time_off", "count": 3 },
{ "type": "shift_swap", "count": 2 }
]
},
"adherence": {
"open_events": 4,
"non_adherent_open_events": 1,
"unevaluated_open_events": 2
},
"overtime": {
"open_offers": 2
},
"vto": {
"open_offers": 1
},
"exceptions": {
"pending_count": 6
}
},
"meta": {
"request_id": "req_9f1c4a7b2d8e",
"timestamp": "2026-08-27T13:42:11.802Z"
}
}
List timesheets
GET /api/v1/wfm/timesheetscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/timesheets" \
-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', '/wfm/timesheets');
console.log(data)
{
"data": {
"timesheets_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List payroll-export.csv
GET /api/v1/wfm/timesheets/payroll-export.csvcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/timesheets/payroll-export.csv" \
-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', '/wfm/timesheets/payroll-export.csv');
console.log(data)
{
"data": {
"timesheets_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List vto-offers
GET /api/v1/wfm/vto-offerscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/vto-offers" \
-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', '/wfm/vto-offers');
console.log(data)
{
"data": {
"vto_offers_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get vto-offers
GET /api/v1/wfm/vto-offers/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List claims
GET /api/v1/wfm/vto-offers/{id}/claimscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims" \
-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', '/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims');
console.log(data)
{
"data": {
"claims_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Adherence-exceptions wfm
POST /api/v1/wfm/adherence-exceptionscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/adherence-exceptions" \
-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', '/wfm/adherence-exceptions', {});
console.log(data)
{
"data": {
"adherence_exceptions_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create approve
POST /api/v1/wfm/adherence-exceptions/{id}/approvecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/adherence-exceptions/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/approve" \
-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', '/wfm/adherence-exceptions/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/approve', {});
console.log(data)
{
"data": {
"approve_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create cancel
POST /api/v1/wfm/adherence-exceptions/{id}/cancelcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/adherence-exceptions/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel" \
-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', '/wfm/adherence-exceptions/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel', {});
console.log(data)
{
"data": {
"cancel_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create deny
POST /api/v1/wfm/adherence-exceptions/{id}/denycURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/adherence-exceptions/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deny" \
-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', '/wfm/adherence-exceptions/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deny', {});
console.log(data)
{
"data": {
"deny_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Assignments wfm
POST /api/v1/wfm/assignmentscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/assignments" \
-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', '/wfm/assignments', {});
console.log(data)
{
"data": {
"assignments_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Bulk assignments
POST /api/v1/wfm/assignments/bulkcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/assignments/bulk" \
-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', '/wfm/assignments/bulk', {});
console.log(data)
{
"data": {
"bulk_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Plan capacity
POST /api/v1/wfm/capacity/plancURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/capacity/plan" \
-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', '/wfm/capacity/plan', {});
console.log(data)
{
"data": {
"plan_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Recompute forecasts
POST /api/v1/wfm/forecasts/recomputecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/forecasts/recompute" \
-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', '/wfm/forecasts/recompute', {});
console.log(data)
{
"data": {
"recompute_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
What-if forecasts
POST /api/v1/wfm/forecasts/what-ifcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/forecasts/what-if" \
-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', '/wfm/forecasts/what-if', {});
console.log(data)
{
"data": {
"what_if_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create adjust
POST /api/v1/wfm/leave-balances/{agentId}/adjustcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/leave-balances/agt_7e3b9c1f/adjust" \
-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', '/wfm/leave-balances/agt_7e3b9c1f/adjust', {});
console.log(data)
{
"data": {
"adjust_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Leave-policies wfm
POST /api/v1/wfm/leave-policiescURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/leave-policies" \
-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', '/wfm/leave-policies', {});
console.log(data)
{
"data": {
"leave_policies_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Open-shifts wfm
POST /api/v1/wfm/open-shiftscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/open-shifts" \
-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', '/wfm/open-shifts', {});
console.log(data)
{
"data": {
"open_shifts_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create award
POST /api/v1/wfm/open-shifts/{id}/awardcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/award" \
-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', '/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/award', {});
console.log(data)
{
"data": {
"award_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create bids
POST /api/v1/wfm/open-shifts/{id}/bidscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bids" \
-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', '/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bids', {});
console.log(data)
{
"data": {
"bids_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create withdraw
POST /api/v1/wfm/open-shifts/{id}/bids/{bidId}/withdrawcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bids/bid_demo/withdraw" \
-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', '/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bids/bid_demo/withdraw', {});
console.log(data)
{
"data": {
"withdraw_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create cancel
POST /api/v1/wfm/open-shifts/{id}/cancelcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel" \
-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', '/wfm/open-shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel', {});
console.log(data)
{
"data": {
"cancel_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Overtime-offers wfm
POST /api/v1/wfm/overtime-offerscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/overtime-offers" \
-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', '/wfm/overtime-offers', {});
console.log(data)
{
"data": {
"overtime_offers_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create award
POST /api/v1/wfm/overtime-offers/{id}/awardcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/award" \
-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', '/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/award', {});
console.log(data)
{
"data": {
"award_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create cancel
POST /api/v1/wfm/overtime-offers/{id}/cancelcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel" \
-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', '/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel', {});
console.log(data)
{
"data": {
"cancel_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create claims
POST /api/v1/wfm/overtime-offers/{id}/claimscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims" \
-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', '/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims', {});
console.log(data)
{
"data": {
"claims_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create withdraw
POST /api/v1/wfm/overtime-offers/{id}/claims/{claimId}/withdrawcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims/claim_demo/withdraw" \
-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', '/wfm/overtime-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims/claim_demo/withdraw', {});
console.log(data)
{
"data": {
"withdraw_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Apply rebalancing
POST /api/v1/wfm/rebalancing/applycURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/rebalancing/apply" \
-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', '/wfm/rebalancing/apply', {});
console.log(data)
{
"data": {
"apply_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Recommend rebalancing
POST /api/v1/wfm/rebalancing/recommendcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/rebalancing/recommend" \
-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', '/wfm/rebalancing/recommend', {});
console.log(data)
{
"data": {
"recommend_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Requests wfm
POST /api/v1/wfm/requestscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/requests" \
-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', '/wfm/requests', {});
console.log(data)
{
"data": {
"requests_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create accept-swap
POST /api/v1/wfm/requests/{id}/accept-swapcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/accept-swap" \
-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', '/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/accept-swap', {});
console.log(data)
{
"data": {
"accept_swap_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create approve
POST /api/v1/wfm/requests/{id}/approvecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/approve" \
-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', '/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/approve', {});
console.log(data)
{
"data": {
"approve_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create cancel
POST /api/v1/wfm/requests/{id}/cancelcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel" \
-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', '/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel', {});
console.log(data)
{
"data": {
"cancel_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create deny
POST /api/v1/wfm/requests/{id}/denycURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deny" \
-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', '/wfm/requests/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deny', {});
console.log(data)
{
"data": {
"deny_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Generate schedules
POST /api/v1/wfm/schedules/generatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/schedules/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', '/wfm/schedules/generate', {});
console.log(data)
{
"data": {
"generate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Commit generate
POST /api/v1/wfm/schedules/generate/commitcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/schedules/generate/commit" \
-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', '/wfm/schedules/generate/commit', {});
console.log(data)
{
"data": {
"commit_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Shifts wfm
POST /api/v1/wfm/shiftscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/shifts" \
-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', '/wfm/shifts', {});
console.log(data)
{
"data": {
"shifts_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create activities
POST /api/v1/wfm/shifts/{shiftId}/activitiescURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/shifts/shift_demo/activities" \
-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', '/wfm/shifts/shift_demo/activities', {});
console.log(data)
{
"data": {
"activities_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Recompute shrinkage
POST /api/v1/wfm/shrinkage/recomputecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/shrinkage/recompute" \
-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', '/wfm/shrinkage/recompute', {});
console.log(data)
{
"data": {
"recompute_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Optimize staffing
POST /api/v1/wfm/staffing/optimizecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/staffing/optimize" \
-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', '/wfm/staffing/optimize', {});
console.log(data)
{
"data": {
"optimize_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Vto-offers wfm
POST /api/v1/wfm/vto-offerscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/vto-offers" \
-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', '/wfm/vto-offers', {});
console.log(data)
{
"data": {
"vto_offers_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create award
POST /api/v1/wfm/vto-offers/{id}/awardcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/award" \
-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', '/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/award', {});
console.log(data)
{
"data": {
"award_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create cancel
POST /api/v1/wfm/vto-offers/{id}/cancelcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel" \
-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', '/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel', {});
console.log(data)
{
"data": {
"cancel_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create claims
POST /api/v1/wfm/vto-offers/{id}/claimscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims" \
-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', '/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims', {});
console.log(data)
{
"data": {
"claims_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create withdraw
POST /api/v1/wfm/vto-offers/{id}/claims/{claimId}/withdrawcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims/claim_demo/withdraw" \
-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', '/wfm/vto-offers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/claims/claim_demo/withdraw', {});
console.log(data)
{
"data": {
"withdraw_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Upsert one agent-skill row (set or re-rate proficiency)
PUT /api/v1/wfm/agent-skills/{agentId}/{skill}cURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/wfm/agent-skills/agt_7e3b9c1f/skill_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', '/wfm/agent-skills/agt_7e3b9c1f/skill_demo', {});
console.log(data)
{
"data": {
"agent_skills_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch assignments
PATCH /api/v1/wfm/assignments/{id}cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
{
"data": {
"assignments_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch shifts
PATCH /api/v1/wfm/shifts/{id}cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/wfm/shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
{
"data": {
"shifts_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Remove one agent-skill row
DELETE /api/v1/wfm/agent-skills/{agentId}/{skill}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/wfm/agent-skills/agt_7e3b9c1f/skill_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', '/wfm/agent-skills/agt_7e3b9c1f/skill_demo', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete assignments
DELETE /api/v1/wfm/assignments/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/assignments/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete shifts
DELETE /api/v1/wfm/shifts/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/wfm/shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/shifts/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete activities
DELETE /api/v1/wfm/shifts/{shiftId}/activities/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/wfm/shifts/shift_demo/activities/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-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', '/wfm/shifts/shift_demo/activities/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
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 leave-balances
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/leave-balances/agt_7e3b9c1f" \
-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', '/wfm/leave-balances/agt_7e3b9c1f');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/leave-balances/agt_7e3b9c1f")
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", "/wfm/leave-balances/agt_7e3b9c1f", 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', '/wfm/leave-balances/agt_7e3b9c1f')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/leave-balances/agt_7e3b9c1f');
echo json_encode($result);
List leave-policies
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/wfm/leave-policies" \
-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', '/wfm/leave-policies');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/wfm/leave-policies")
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", "/wfm/leave-policies", 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', '/wfm/leave-policies')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/wfm/leave-policies');
echo json_encode($result);