SendPanda Audiences API

The Audiences API from SendPanda, for audiences.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /v1/audiences Get audiences #
POST /v1/audiences Create audiences #
PATCH /v1/audiences/{id} Update audiences by id #
DELETE /v1/audiences/{id} Delete audiences by id #
POST /v1/audiences/{id}/contacts Create audiences by id contacts #

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/sendpanda-email:sendpanda-email-audiences-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

sendpanda-email-audiences-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendPanda Audiences API
  version: 1.0.0
  description: Transactional email API. Secrets belong only on your server.
tags:
- name: Audiences
paths:
  /v1/audiences:
    get:
      responses:
        '200':
          description: Default Response
      tags:
      - Audiences
      summary: Get audiences
      x-summary-source: derived
      operationId: getV1Audiences
      x-operation-id-source: derived
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
              required:
              - name
              additionalProperties: false
      responses:
        '200':
          description: Default Response
      tags:
      - Audiences
      summary: Create audiences
      x-summary-source: derived
      operationId: postV1Audiences
      x-operation-id-source: derived
  /v1/audiences/{id}:
    patch:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
              required:
              - name
              additionalProperties: false
      parameters:
      - schema:
          type: string
          maxLength: 80
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
      tags:
      - Audiences
      summary: Update audiences by id
      x-summary-source: derived
      operationId: patchV1AudiencesById
      x-operation-id-source: derived
    delete:
      parameters:
      - schema:
          type: string
          maxLength: 80
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
      tags:
      - Audiences
      summary: Delete audiences by id
      x-summary-source: derived
      operationId: deleteV1AudiencesById
      x-operation-id-source: derived
  /v1/audiences/{id}/contacts:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                contacts:
                  minItems: 1
                  maxItems: 500
                  type: array
                  items:
                    type: object
                    properties:
                      email:
                        type: string
                        format: email
                        pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                      name:
                        default: ''
                        type: string
                        maxLength: 100
                      tags:
                        default: []
                        maxItems: 20
                        type: array
                        items:
                          type: string
                          pattern: ^[a-zA-Z0-9_-]{1,64}$
                      consent:
                        type: object
                        properties:
                          at:
                            type: string
                            format: date-time
                            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                          source:
                            type: string
                            enum:
                            - signup
                            - double_opt_in
                            - customer_request
                          evidence:
                            type: string
                            minLength: 10
                            maxLength: 2000
                        required:
                        - at
                        - source
                        - evidence
                        additionalProperties: false
                    required:
                    - email
                    - consent
                    additionalProperties: false
                permission_confirmed:
                  type: boolean
                  enum:
                  - true
              required:
              - contacts
              - permission_confirmed
              additionalProperties: false
      parameters:
      - schema:
          type: string
          maxLength: 80
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
      tags:
      - Audiences
      summary: Create audiences by id contacts
      x-summary-source: derived
      operationId: postV1AudiencesByIdContacts
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer