Telephony

Handle Daily Dialin

Handle inbound PSTN calls from Daily.

Flow:

  1. Parse Daily webhook (From, To, callId, callDomain)
  2. Lookup customer by To number (must be provider='daily')
  3. Get customer's pipecat_agent_id and AgentToken
  4. Start Pipecat Cloud session with createDailyRoom=true
  5. Return JSON response
  6. Bot joins Daily room automatically and starts speaking
post/telephony/daily-dialin

Response

Successful Response

{"stackTrail":"paths:/telephony/daily-dialin:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.