Twilio Secrets API

The Secrets API from Twilio — 2 operation(s) for secrets.

Business capability
Configuration & Secrets Management BC-4210.60

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/Secrets List the secrets stored on my account · List account secret #
Ask an LLM
“Which secrets have I stored at the account level?”
“Can I page through all of my account secrets?”
Tell an agent
List all secrets on my account.
Show my account secrets {page_size} per page.
POST /v1/Secrets Store a new account secret · Create account secret #
Ask an LLM
“Can I store an API key or password as an account-level secret?”
“How long can a secret's key and value be?”
Tell an agent
Create secret {key} with value {value}.
Store {value} on my account under the new secret name {key}.
GET /v1/Secrets/{Key} Look up one account secret by key · Fetch account secret #
Ask an LLM
“Can I retrieve a single secret by its key name?”
“Is a particular secret already defined on my account?”
Tell an agent
Fetch the secret named {key}.
Show account secret {key}.
POST /v1/Secrets/{Key} Change the value of an account secret · Update account secret #
Ask an LLM
“Can I rotate the value of an existing secret without renaming it?”
“Can I overwrite a stored secret with a new value?”
Tell an agent
Update existing secret {key} to {value}.
Rotate the value of secret {key} to {value}.
DELETE /v1/Secrets/{Key} Delete an account secret · Delete account secret #
Ask an LLM
“Can I permanently remove a secret I no longer use?”
“What's the call to delete a compromised account secret?”
Tell an agent destructive · confirm first
Delete secret {key}.
Remove the account secret named {key}.

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-secrets-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 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.

OpenAPI Specification

twilio-secrets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio - Microvisor Secrets API
  description: This is the public Twilio REST API.
  termsOfService: https://www.twilio.com/legal/tos
  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
  version: 1.52.0
servers:
- url: https://microvisor.twilio.com
tags:
- name: Secrets
paths:
  /v1/Secrets:
    servers:
    - url: https://microvisor.twilio.com
    description: 'TODO: Resource-level docs'
    x-twilio:
      defaultOutputProperties: []
      pathType: list
      mountName: account_secrets
    get:
      description: Retrieve a list of all Secrets for an Account.
      tags:
      - Secrets
      parameters:
      - name: PageSize
        in: query
        description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        schema:
          type: integer
          minimum: 1
          maximum: 1000
      - name: Page
        in: query
        description: The page index. This value is simply for client state.
        schema:
          type: integer
          minimum: 0
      - name: PageToken
        in: query
        description: The page token. This is provided by the API.
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAccountSecretResponse'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: ListAccountSecret
      x-maturity:
      - Preview
      summary: List account secret
      x-summary-source: derived
    post:
      description: Create a secret for an Account.
      tags:
      - Secrets
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microvisor.v1.account_secret'
          description: Created
      security:
      - accountSid_authToken: []
      operationId: CreateAccountSecret
      x-maturity:
      - Preview
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateAccountSecretRequest'
      summary: Create account secret
      x-summary-source: derived
  /v1/Secrets/{Key}:
    servers:
    - url: https://microvisor.twilio.com
    description: 'TODO: Resource-level docs'
    x-twilio:
      defaultOutputProperties: []
      pathType: instance
      mountName: account_secrets
    get:
      description: Retrieve a Secret for an Account.
      tags:
      - Secrets
      parameters:
      - name: Key
        in: path
        description: The secret key; up to 100 characters.
        schema:
          type: string
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microvisor.v1.account_secret'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: FetchAccountSecret
      x-maturity:
      - Preview
      summary: Fetch account secret
      x-summary-source: derived
    post:
      description: Update a secret for an Account.
      tags:
      - Secrets
      parameters:
      - name: Key
        in: path
        description: The secret key; up to 100 characters.
        schema:
          type: string
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microvisor.v1.account_secret'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: UpdateAccountSecret
      x-maturity:
      - Preview
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateAccountSecretRequest'
      summary: Update account secret
      x-summary-source: derived
    delete:
      description: Delete a secret for an Account.
      tags:
      - Secrets
      parameters:
      - name: Key
        in: path
        description: The secret key; up to 100 characters.
        schema:
          type: string
        required: true
      responses:
        '204':
          description: The resource was deleted successfully.
      security:
      - accountSid_authToken: []
      operationId: DeleteAccountSecret
      x-maturity:
      - Preview
      summary: Delete account secret
      x-summary-source: derived
components:
  schemas:
    UpdateAccountSecretRequest:
      type: object
      required:
      - Value
      properties:
        Value:
          type: string
          description: The secret value; up to 4096 characters.
    microvisor.v1.account_secret:
      type: object
      properties:
        key:
          type:
          - string
          - 'null'
          description: The secret key; up to 100 characters.
        date_rotated:
          type:
          - string
          - 'null'
          format: date-time
        url:
          type:
          - string
          - 'null'
          format: uri
          description: The absolute URL of the Secret.
    CreateAccountSecretRequest:
      type: object
      required:
      - Key
      - Value
      properties:
        Key:
          type: string
          description: The secret key; up to 100 characters.
        Value:
          type: string
          description: The secret value; up to 4096 characters.
    ListAccountSecretResponse:
      type: object
      properties:
        secrets:
          type: array
          items:
            $ref: '#/components/schemas/microvisor.v1.account_secret'
        meta:
          type: object
          properties:
            first_page_url:
              type: string
              format: uri
            next_page_url:
              type:
              - string
              - 'null'
              format: uri
            page:
              type: integer
            page_size:
              type: integer
            previous_page_url:
              type:
              - string
              - 'null'
              format: uri
            url:
              type: string
              format: uri
            key:
              type: string
  securitySchemes:
    accountSid_authToken:
      type: http
      scheme: basic
x-maturity:
- name: Preview
  description: PLEASE NOTE that this is a Preview product that is subject to change. Use it with caution. If you currently do not have developer preview access, please contact https://www.twilio.com/help/contact.