Twilio Interactions API

Manage customer interactions

Operations 5

POST /Interactions Twilio Create an Interaction #
GET /Interactions/{InteractionSid} Twilio Fetch an Interaction #
GET /Interactions/{InteractionSid}/Channels Twilio List Interaction Channels #
GET /Interactions/{InteractionSid}/Channels/{ChannelSid} Twilio Fetch an Interaction Channel #
POST /Interactions/{InteractionSid}/Channels/{ChannelSid} Twilio Update an Interaction Channel #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/twilio-interactions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

twilio-interactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio Flex Interactions API
  description: Programmable digital engagement center API for building customized omnichannel contact center solutions. Manage Flex configuration, channels, flows, interactions, plugins, and worker insights for customer communication across voice, SMS, chat, WhatsApp, and more.
  version: '2.0'
  contact:
    name: Twilio Support
    url: https://support.twilio.com
    email: support@twilio.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://www.twilio.com/legal/tos
servers:
- url: https://flex-api.twilio.com/v1
  description: Twilio Flex API v1
- url: https://flex-api.twilio.com/v2
  description: Twilio Flex API v2
security:
- accountSid_authToken: []
tags:
- name: Interactions
  description: Manage customer interactions
paths:
  /Interactions:
    post:
      operationId: createInteraction
      summary: Twilio Create an Interaction
      description: Create a new customer interaction. An interaction represents a complete customer engagement that may span multiple channels.
      tags:
      - Interactions
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateInteractionRequest'
      responses:
        '201':
          description: Interaction created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Interaction'
  /Interactions/{InteractionSid}:
    get:
      operationId: fetchInteraction
      summary: Twilio Fetch an Interaction
      tags:
      - Interactions
      parameters:
      - name: InteractionSid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Interaction details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Interaction'
  /Interactions/{InteractionSid}/Channels:
    get:
      operationId: listInteractionChannels
      summary: Twilio List Interaction Channels
      tags:
      - Interactions
      parameters:
      - name: InteractionSid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of interaction channels
  /Interactions/{InteractionSid}/Channels/{ChannelSid}:
    get:
      operationId: fetchInteractionChannel
      summary: Twilio Fetch an Interaction Channel
      tags:
      - Interactions
      parameters:
      - name: InteractionSid
        in: path
        required: true
        schema:
          type: string
      - name: ChannelSid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Interaction channel details
    post:
      operationId: updateInteractionChannel
      summary: Twilio Update an Interaction Channel
      description: Update the status or routing of an interaction channel.
      tags:
      - Interactions
      parameters:
      - name: InteractionSid
        in: path
        required: true
        schema:
          type: string
      - name: ChannelSid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - closed
                  - wrapup
                routing:
                  type: object
      responses:
        '200':
          description: Interaction channel updated
components:
  schemas:
    Interaction:
      type: object
      properties:
        sid:
          type: string
        account_sid:
          type: string
          pattern: ^AC[0-9a-fA-F]{32}$
        channel:
          type: object
        routing:
          type: object
        date_created:
          type: string
          format: date-time
        date_updated:
          type: string
          format: date-time
        url:
          type: string
          format: uri
        links:
          type: object
    CreateInteractionRequest:
      type: object
      required:
      - channel
      - routing
      properties:
        channel:
          type: object
          required:
          - type
          - initiated_by
          - properties
          properties:
            type:
              type: string
              enum:
              - sms
              - voice
              - email
              - chat
              - whatsapp
              - facebook
              - gbm
            initiated_by:
              type: string
              enum:
              - agent
              - customer
            properties:
              type: object
        routing:
          type: object
          required:
          - properties
          properties:
            properties:
              type: object
              properties:
                workspace_sid:
                  type: string
                workflow_sid:
                  type: string
                task_channel_unique_name:
                  type: string
                attributes:
                  type: object
  securitySchemes:
    accountSid_authToken:
      type: http
      scheme: basic
      description: Use your Twilio Account SID as the username and Auth Token as the password for HTTP Basic authentication.
externalDocs:
  description: Twilio Flex API Documentation
  url: https://www.twilio.com/docs/flex