Twilio · Arazzo Workflow

Twilio Create a Conversation and Attach a Scoped Webhook

Version 1.0.0

Create a Conversations thread, then attach a conversation-scoped webhook that targets your service.

1 workflow 1 source API 1 provider
View Spec View on GitHub AuthenticationCommunicationsContact CenterEmailIoTMessagingPhoneSMST1VerificationVideoVoiceArazzoWorkflows

Provider

twilio

Workflows

create-conversation-with-webhook
Create a conversation and attach a scoped webhook to it.
Creates a conversation, then registers a conversation-scoped webhook that posts events to the supplied URL.
2 steps inputs: configurationMethod, configurationUrl, friendlyName, target outputs: conversationSid, webhookSid
1
createConversation
Create the conversation thread that the webhook will be scoped to.
2
attachWebhook
Attach a conversation-scoped webhook that delivers events to the supplied URL.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Twilio Create a Conversation and Attach a Scoped Webhook
  summary: Create a Conversations thread, then attach a conversation-scoped webhook that targets your service.
  description: >-
    An event-driven Conversations setup pattern. The workflow creates a new
    conversation and then attaches a conversation-scoped webhook to it, pointing
    a webhook target at the supplied callback URL so that events on this specific
    conversation are delivered to your service. Every step spells out its request
    inline so the flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: conversationsApi
  url: ../openapi/twilio-conversations-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-conversation-with-webhook
  summary: Create a conversation and attach a scoped webhook to it.
  description: >-
    Creates a conversation, then registers a conversation-scoped webhook that
    posts events to the supplied URL.
  inputs:
    type: object
    required:
    - target
    - configurationUrl
    properties:
      friendlyName:
        type: string
        description: Optional human-readable name for the conversation.
      target:
        type: string
        description: The webhook target type (e.g. webhook).
      configurationUrl:
        type: string
        description: The URL that conversation events are delivered to.
      configurationMethod:
        type: string
        description: HTTP method used to call the webhook URL (GET or POST).
  steps:
  - stepId: createConversation
    description: >-
      Create the conversation thread that the webhook will be scoped to.
    operationId: CreateConversation
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        FriendlyName: $inputs.friendlyName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      conversationSid: $response.body#/sid
  - stepId: attachWebhook
    description: >-
      Attach a conversation-scoped webhook that delivers events to the supplied
      URL.
    operationId: CreateConversationScopedWebhook
    parameters:
    - name: ConversationSid
      in: path
      value: $steps.createConversation.outputs.conversationSid
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        Target: $inputs.target
        Configuration.Url: $inputs.configurationUrl
        Configuration.Method: $inputs.configurationMethod
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      webhookSid: $response.body#/sid
  outputs:
    conversationSid: $steps.createConversation.outputs.conversationSid
    webhookSid: $steps.attachWebhook.outputs.webhookSid

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/twilio-create-conversation-with-webhook-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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