Twilio Lists API

Manage contact lists

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 /marketing/lists List my marketing contact lists · Twilio List Contact Lists #
Ask an LLM
“Which marketing contact lists do I have?”
“What email lists exist in my marketing account?”
Tell an agent
List all my marketing contact lists.
Show my contact lists, {page_size} per page.
POST /marketing/lists Create a marketing contact list · Twilio Create a Contact List #
Ask an LLM
“How do I start a new contact list for a marketing campaign?”
“Can I make an empty list to add contacts to later?”
Tell an agent
Create a contact list called {name}.
Make a new marketing list named {name}.
GET /marketing/lists/{list_id} Get one marketing contact list · Twilio Fetch a Contact List #
Ask an LLM
“Can I see the details of a single contact list?”
“What are the details of one particular marketing list?”
Tell an agent
Get contact list {list}.
Show the details of marketing list {list}.
PATCH /marketing/lists/{list_id} Rename a marketing contact list · Twilio Update a Contact List #
Ask an LLM
“Is there a way to rename an existing contact list?”
“Can I change a marketing list's name without losing its contacts?”
Tell an agent
Rename contact list {list} to {name}.
Change the name of marketing list {list} to {name}.
DELETE /marketing/lists/{list_id} Delete a marketing contact list · Twilio Delete a Contact List #
Ask an LLM
“How do I delete a contact list I no longer need?”
“Can I delete the contacts in a list along with the list itself?”
Tell an agent destructive · confirm first
Delete contact list {list}.
Delete marketing list {list} and set delete-contacts to {delete_contacts}.

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-lists-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-lists-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio SendGrid Email Lists API
  description: Send, manage, and analyze emails at scale using the Twilio SendGrid Email API. Supports transactional and marketing email, dynamic templates, email validation, sender authentication, suppressions management, and real-time analytics.
  version: '3.0'
  contact:
    name: Twilio SendGrid Support
    url: https://support.sendgrid.com
    email: support@sendgrid.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://www.twilio.com/legal/tos
servers:
- url: https://api.sendgrid.com/v3
  description: SendGrid API v3
security:
- bearerAuth: []
tags:
- name: Lists
  description: Manage contact lists
paths:
  /marketing/lists:
    get:
      operationId: listContactLists
      summary: Twilio List Contact Lists
      tags:
      - Lists
      parameters:
      - name: page_size
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 1000
      responses:
        '200':
          description: List of contact lists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactListCollection'
    post:
      operationId: createContactList
      summary: Twilio Create a Contact List
      tags:
      - Lists
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
      responses:
        '201':
          description: List created
  /marketing/lists/{list_id}:
    get:
      operationId: fetchContactList
      summary: Twilio Fetch a Contact List
      tags:
      - Lists
      parameters:
      - name: list_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Contact list details
    patch:
      operationId: updateContactList
      summary: Twilio Update a Contact List
      tags:
      - Lists
      parameters:
      - name: list_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
      responses:
        '200':
          description: List updated
    delete:
      operationId: deleteContactList
      summary: Twilio Delete a Contact List
      tags:
      - Lists
      parameters:
      - name: list_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: delete_contacts
        in: query
        description: Whether to delete contacts in the list
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: List deleted
components:
  schemas:
    ContactListCollection:
      type: object
      properties:
        result:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              name:
                type: string
              contact_count:
                type: integer
              _metadata:
                type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Use a SendGrid API key as the bearer token for authentication.
externalDocs:
  description: Twilio SendGrid API Documentation
  url: https://www.twilio.com/docs/sendgrid