Twilio · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Twilio Voice Calls API

6 actions 6 updates phrasing extends openapi/twilio-calls-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Twilio's API. It is a proposal applied on top of the contract, not a document Twilio publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/Accounts/{AccountSid}/Calls.json'].get
$.paths['/Accounts/{AccountSid}/Calls.json'].post
$.paths['/Accounts/{AccountSid}/Calls/{CallSid}.json'].get
$.paths['/Accounts/{AccountSid}/Calls/{CallSid}.json'].post
$.paths['/Accounts/{AccountSid}/Calls/{CallSid}.json'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Twilio Voice Calls API
  version: 1.0.0
extends: openapi/twilio-calls-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/Accounts/{AccountSid}/Calls.json'].get
  update:
    x-apievangelist-phrasing:
      intent: List calls on an account
      effect: read
      questions:
      - Which calls did we place to a particular phone number last month?
      - Can I see only calls that failed or went unanswered?
      - What inbound calls came from a specific caller between two dates?
      instructions:
      - text: List calls on account {account_sid} to {to}.
        slots:
          account_sid: path.AccountSid
          to: query.To
      - text: Show calls on account {account_sid} with status {status} between {start_time} and {end_time}.
        slots:
          account_sid: path.AccountSid
          status: query.Status
          start_time: query.StartTime
          end_time: query.EndTime
      - text: Find calls from {from} in account {account_sid}.
        slots:
          from: query.From
          account_sid: path.AccountSid
      method: generated
      generated: '2026-09-26'
- target: $.paths['/Accounts/{AccountSid}/Calls.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Place an outbound phone call
      effect: write
      questions:
      - How do I make an outbound phone call and control it with TwiML?
      - Can I detect whether an answering machine picked up my outbound call?
      - Is it possible to record a call I start from the API?
      instructions:
      - text: Call {to} from {from} on account {account_sid} using the TwiML at {url}.
        slots:
          to: requestBody.To
          from: requestBody.From
          account_sid: path.AccountSid
          url: requestBody.Url
      - text: Dial {to} from {from} on account {account_sid} and say {twiml}.
        slots:
          to: requestBody.To
          from: requestBody.From
          account_sid: path.AccountSid
          twiml: requestBody.Twiml
      - text: Place a recorded call to {to} from {from} on account {account_sid} with machine detection {machine_detection}.
        slots:
          to: requestBody.To
          from: requestBody.From
          account_sid: path.AccountSid
          machine_detection: requestBody.MachineDetection
      method: generated
      generated: '2026-09-26'
- target: $.paths['/Accounts/{AccountSid}/Calls/{CallSid}.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one call's details
      effect: read
      questions:
      - How long did a specific call last and how did it end?
      - Can I look up a single call record by its SID?
      instructions:
      - text: Get call {call_sid} on account {account_sid}.
        slots:
          call_sid: path.CallSid
          account_sid: path.AccountSid
      - text: Show the duration and status of call {call_sid} in account {account_sid}.
        slots:
          call_sid: path.CallSid
          account_sid: path.AccountSid
      method: generated
      generated: '2026-09-26'
- target: $.paths['/Accounts/{AccountSid}/Calls/{CallSid}.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Redirect or hang up a live call
      effect: write
      questions:
      - How do I hang up a call that is still in progress?
      - Can I send a live call to new TwiML instructions mid-call?
      instructions:
      - text: Hang up live call {call_sid} on account {account_sid} by setting status {status}.
        slots:
          call_sid: path.CallSid
          account_sid: path.AccountSid
          status: requestBody.Status
      - text: Redirect in-progress call {call_sid} on account {account_sid} to {url}.
        slots:
          call_sid: path.CallSid
          account_sid: path.AccountSid
          url: requestBody.Url
      method: generated
      generated: '2026-09-26'
- target: $.paths['/Accounts/{AccountSid}/Calls/{CallSid}.json'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a call record
      effect: destructive
      questions:
      - Can I remove an old call from my account's call log?
      - Is deleting a call record permanent?
      instructions:
      - text: Delete call record {call_sid} from account {account_sid}.
        slots:
          call_sid: path.CallSid
          account_sid: path.AccountSid
      - text: Erase the log entry for finished call {call_sid} in account {account_sid}.
        slots:
          call_sid: path.CallSid
          account_sid: path.AccountSid
      method: generated
      generated: '2026-09-26'