Twilio · Arazzo Workflow

Twilio Send an MMS and List Its Media

Version 1.0.0

Send an MMS with a media URL, fetch the message back, then list the media attached to it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AuthenticationCommunicationsContact CenterEmailIoTMessagingPhoneSMST1VerificationVideoVoiceArazzoWorkflows

Provider

twilio

Workflows

send-mms-and-list-media
Send an MMS and enumerate its stored media.
Sends an MMS with a media URL, fetches the message, and lists the media attached to it.
3 steps inputs: accountSid, body, from, mediaUrl, to outputs: mediaList, messageSid
1
sendMms
Send the MMS including the media URL.
2
fetchMessage
Fetch the message back to confirm it was created.
3
listMedia
List the media sub-resources attached to the message.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Twilio Send an MMS and List Its Media
  summary: Send an MMS with a media URL, fetch the message back, then list the media attached to it.
  description: >-
    A multimedia messaging pattern. The workflow sends an MMS that includes a
    media URL, fetches the message resource back to confirm it was created, and
    then lists the media sub-resources attached to the message so the stored
    media SIDs can be retrieved. 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: mediaApi
  url: ../openapi/twilio-media-api-openapi.yml
  type: openapi
- name: messagesApi
  url: ../openapi/twilio-messages-api-openapi.yml
  type: openapi
workflows:
- workflowId: send-mms-and-list-media
  summary: Send an MMS and enumerate its stored media.
  description: >-
    Sends an MMS with a media URL, fetches the message, and lists the media
    attached to it.
  inputs:
    type: object
    required:
    - accountSid
    - to
    - from
    - mediaUrl
    properties:
      accountSid:
        type: string
        description: The Twilio account SID (starts with AC).
      to:
        type: string
        description: Recipient phone number in E.164 format.
      from:
        type: string
        description: Twilio phone number to send from.
      body:
        type: string
        description: Optional text body to accompany the media.
      mediaUrl:
        type: string
        description: URL of the media to include in the MMS.
  steps:
  - stepId: sendMms
    description: >-
      Send the MMS including the media URL.
    operationId: createMessage
    parameters:
    - name: AccountSid
      in: path
      value: $inputs.accountSid
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        To: $inputs.to
        From: $inputs.from
        Body: $inputs.body
        MediaUrl:
        - $inputs.mediaUrl
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      messageSid: $response.body#/sid
      numMedia: $response.body#/num_media
  - stepId: fetchMessage
    description: >-
      Fetch the message back to confirm it was created.
    operationId: fetchMessage
    parameters:
    - name: AccountSid
      in: path
      value: $inputs.accountSid
    - name: MessageSid
      in: path
      value: $steps.sendMms.outputs.messageSid
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  - stepId: listMedia
    description: >-
      List the media sub-resources attached to the message.
    operationId: listMedia
    parameters:
    - name: AccountSid
      in: path
      value: $inputs.accountSid
    - name: MessageSid
      in: path
      value: $steps.sendMms.outputs.messageSid
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      mediaList: $response.body#/media_list
  outputs:
    messageSid: $steps.sendMms.outputs.messageSid
    mediaList: $steps.listMedia.outputs.mediaList

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-send-mms-and-list-media-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.