Twilio · Arazzo Workflow

Twilio Send a Message and Redact Its Body

Version 1.0.0

Send an SMS, then redact the stored message body by updating it to an empty string for privacy.

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

Provider

twilio

Workflows

send-and-redact-message
Send a message then redact its stored body.
Sends a message and then updates it with an empty body to redact the stored content.
2 steps inputs: accountSid, body, from, to outputs: messageSid, redactedBody
1
sendMessage
Send the SMS containing the sensitive content.
2
redactBody
Redact the stored message body by updating the message with an empty body string.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Twilio Send a Message and Redact Its Body
  summary: Send an SMS, then redact the stored message body by updating it to an empty string for privacy.
  description: >-
    A privacy and compliance pattern. The workflow sends an SMS, captures the
    message SID, and then redacts the message body from Twilio's records by
    updating the message with an empty body string. This is used to remove
    sensitive content such as one-time codes or personal data from the message
    log after delivery. 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: messagesApi
  url: ../openapi/twilio-messages-api-openapi.yml
  type: openapi
workflows:
- workflowId: send-and-redact-message
  summary: Send a message then redact its stored body.
  description: >-
    Sends a message and then updates it with an empty body to redact the stored
    content.
  inputs:
    type: object
    required:
    - accountSid
    - to
    - from
    - body
    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 or sender ID to send from.
      body:
        type: string
        description: The sensitive text content of the message to send.
  steps:
  - stepId: sendMessage
    description: >-
      Send the SMS containing the sensitive content.
    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
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      messageSid: $response.body#/sid
  - stepId: redactBody
    description: >-
      Redact the stored message body by updating the message with an empty body
      string.
    operationId: updateMessage
    parameters:
    - name: AccountSid
      in: path
      value: $inputs.accountSid
    - name: MessageSid
      in: path
      value: $steps.sendMessage.outputs.messageSid
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        Body: ""
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      body: $response.body#/body
  outputs:
    messageSid: $steps.sendMessage.outputs.messageSid
    redactedBody: $steps.redactBody.outputs.body

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-and-redact-message-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.