TelDev

Case: first TelDev call

Thirty seconds from seed key to a queued call with a session.

export TELDEV_KEY=nl_test_northline_clinic_8f291c44a
export TELDEV_BASE=http://127.0.0.1:3000

curl -sS "$TELDEV_BASE/v1/calls" \
  -H "Authorization: Bearer $TELDEV_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "num_demo",
    "to": "+15555550123",
    "agent": "agt_clinic_front",
    "campaign": "cmp_clinic"
  }'

You get:

  • call_… in queued
  • session: ses_…
  • stream_url: wss://rt.teldev.bot/sessions/ses_…
  • carrier: "telnyx" and a tnx_… carrier_ref

The test key never hits a carrier. Fetch the session with GET /v1/sessions/:id.