Megaphone Agencies API

The Agencies API from Megaphone — 2 operation(s) for agencies.

GitHub OpenAPI

Operations 5

GET /api/organizations/{organization_id}/agencies Show All Agencies #
POST /api/organizations/{organization_id}/agencies Create an Agency #
GET /api/organizations/{organization_id}/agencies/{agency_id} Show an Agency #
PUT /api/organizations/{organization_id}/agencies/{agency_id} Update an Agency #
DELETE /api/organizations/{organization_id}/agencies/{agency_id} Delete an Agency #

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/megaphone:megaphone-agencies-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

megaphone-agencies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Megaphone Agencies API
  version: 1.0.0
  description: 'The Megaphone API (https://cms.megaphone.fm/api) allows podcast producers and partners to view, create, update, and delete podcasts and episodes. Note that the Megaphone API is rate limited at 60 requests per minute (1 request per second). ## Direct Sales API Breaking Change Notice


    ⚠️ **IMPORTANT** ⚠️


    The legacy Direct Sales endpoints for Advertisers, Campaigns, Orders, Advertisements and Geos are being replaced with new v2 endpoints with enhanced functionality. ### Timeline


    **Phase 1: Before April 15, 2026**


    - Only legacy endpoints are available


    - Continue using existing Direct Sales API endpoints


    **Phase 2: April 15, 2026 10:00:00 AM EST - July 14, 2026 11:59:59 UTC (Migration Period)**


    - **v2 endpoints become available**


    - Legacy endpoints continue to work during this period


    - Both legacy and v2 endpoints are operational


    - **We strongly encourage you to start testing and migrating to v2 endpoints as soon as they become available to ensure a smooth transition before the sunset date and to continue ad delivery without disruption.**


    **Phase 3: After July 14, 2026 11:59:59 UTC**


    - Legacy endpoints are **removed and will stop working**


    - Only v2 endpoints will be supported


    - [Old] Standard campaigns can use v2 GET endpoints


    ### What''s Changing


    **API Version:** v2 REST API for managing advertisers, campaigns, orders, assets, advertisements, and targeting. **Effective Date:** New endpoints (v2) will be effective on **April 15, 2026 10:00:00 AM EST**


    **Sunset Date:** Legacy endpoints stop for [Old] Standard on **July 14, 2026 11:59:59 UTC**


    ##### Capability Matrix


    API endpoint availability by resource, campaign type, and version


    | Resource | Campaign Type | GET (v2) | POST / PATCH (v2) | DELETE (v2) | Legacy POST / PUT / GET / DELETE |

    | ------------------ | ------------------- | :------: | :---------------: | :---------: | :------------------------------: |

    | Advertisers | N/A | ✅ | ✅ | ✅ | ✅ |

    | Campaigns | Standard / Priority | ✅ | ✅ (Archive)† | ❌ | ❌ |

    | Campaigns | [Old] Standard* | ✅ | ❌ | ❌ | ✅ |

    | Orders | Standard / Priority | ✅ | ✅ (Archive)† | ❌ | ❌ |

    | Orders | [Old] Standard | ✅ | ❌ | ❌ | ✅ |

    | Advertisements | Standard / Priority | ✅ | ✅ (Archive)† | ❌ | ❌ |

    | Advertisements | [Old] Standard | ✅ | ❌ | ❌ | ✅ |

    | Assets** | Standard / Priority | ✅ | ✅ | ❌ | ❌ |

    | Geo Targeting*** | Standard / Priority | ✅ | N/A | N/A | ❌ |

    | Episode Topics | Standard / Priority | ✅ | N/A | N/A | ❌ |

    | Audience Interests | Standard / Priority | ✅ | N/A | N/A | ❌ |


    *"[Old] Standard" refers to campaigns that will end after the sunset date


    **Assets to be used for Standard/Priority campaigns


    ***Geo Targeting includes Countries, Regions, DMAs, Cities, and Postal Codes lookup endpoints. Not applicable to [Old] Standard campaigns. [Old] Standard campaign orders can continue to use the legacy geo endpoints below. †v2 uses PATCH with `status: "archived"` instead of DELETE for Campaigns, Orders, and Advertisements. See migration guide for details.'
  contact:
    name: Megaphone Support
    url: https://support.megaphone.fm/
servers:
- url: https://cms.megaphone.fm
  description: Production
security:
- ApiToken: []
tags:
- name: Agencies
paths:
  /api/organizations/{organization_id}/agencies:
    get:
      tags:
      - Agencies
      summary: Show All Agencies
      description: List all agencies for an organization.
      operationId: showAllAgencies
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the Organization in the form of a UUID
        example: 3ea516ea-a2d1-11e6-8e62-83147939747c
      - name: updated_since
        in: query
        required: false
        schema:
          type: string
        description: 'Optional query param that will scope the response to only podcasts that have

          been updated since the Date and Time that is provided.

          '
        example: 2019-11-22T19:44:09+0000
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  agencyId:
                    type: string
                    format: uuid
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  externalId: {}
                  billingMethod:
                    type: string
                  paymentType:
                    type: string
                  ein:
                    type: string
                  commissionPercentage:
                    type: string
                  address:
                    type: string
                  city:
                    type: string
                  state:
                    type: string
                  zipCode:
                    type: string
              example:
                name: The Big Red Agency
                agencyId: 8d3f5828-a6ab-11e6-b1f6-7f1cbe882371
                createdAt: '2016-11-09T18:37:22.070Z'
                updatedAt: '2016-11-09T18:37:22.070Z'
                externalId: null
                billingMethod: Monthly
                paymentType: EFT
                ein: 12-3456789
                commissionPercentage: '15'
                address: 123 W Main St
                city: New York
                state: New York
                zipCode: '10027'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '429':
          $ref: '#/components/responses/429'
        '404':
          $ref: '#/components/responses/404'
    post:
      tags:
      - Agencies
      summary: Create an Agency
      description: Create a new agency by passing in required fields of information into the request body.
      operationId: createAnAgency
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the Organization in the form of a UUID
        example: 3ea516ea-a2d1-11e6-8e62-83147939747c
      - name: updated_since
        in: query
        required: false
        schema:
          type: string
        description: 'Optional query param that will scope the response to only podcasts that have

          been updated since the Date and Time that is provided.

          '
        example: 2019-11-22T19:44:09+0000
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                externalId:
                  type: string
                billingMethod:
                  type: string
                paymentType:
                  type: string
                ein:
                  type: string
                commissionPercentage:
                  type: string
                address:
                  type: string
                city:
                  type: string
                state:
                  type: string
                zipCode:
                  type: string
            example:
              name: My new agency
              externalId: ABC123
              billingMethod: Monthly
              paymentType: Credit Card
              ein: 12-3456789
              commissionPercentage: '10'
              address: 123 Main Street
              city: Cleveland
              state: Ohio
              zipCode: '45472'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  agencyId:
                    type: string
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  externalId:
                    type: string
                  billingMethod:
                    type: string
                  paymentType:
                    type: string
                  ein:
                    type: string
                  commissionPercentage:
                    type: string
                  address:
                    type: string
                  city:
                    type: string
                  state:
                    type: string
                  zipCode:
                    type: string
              example:
                name: My new agency
                agencyId: 98ewew71-a6ab-11e6-b1f6-7f1cbe882371
                createdAt: '2020-11-09T18:37:22.070Z'
                updatedAt: '2020-11-09T18:37:22.070Z'
                externalId: ABC123
                billingMethod: Monthly
                paymentType: Credit Card
                ein: 12-3456789
                commissionPercentage: '10'
                address: 123 Main Street
                city: Cleveland
                state: Ohio
                zipCode: '45472'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '429':
          $ref: '#/components/responses/429'
        '422':
          $ref: '#/components/responses/422'
  /api/organizations/{organization_id}/agencies/{agency_id}:
    get:
      tags:
      - Agencies
      summary: Show an Agency
      description: List metadata for a single agency in an organization.
      operationId: showAnAgency
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the Organization in the form of a UUID
        example: 3ea516ea-a2d1-11e6-8e62-83147939747c
      - name: agency_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the Agency in the form of a UUID
        example: 8d3f0828-a6ab-11e6-b1f6-7f1cbe882371
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  agencyId:
                    type: string
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  externalId: {}
                  billingMethod:
                    type: string
                  paymentType:
                    type: string
                  ein:
                    type: string
                  commissionPercentage:
                    type: string
                  address:
                    type: string
                  city:
                    type: string
                  state:
                    type: string
                  zipCode:
                    type: string
              example:
                name: The Open Road Agency
                agencyId: 7yw935ih-a6ab-11e6-b1f6-7f1cbe882371
                createdAt: '2019-11-09T18:37:22.070Z'
                updatedAt: '2019-11-09T18:37:22.070Z'
                externalId: null
                billingMethod: Monthly
                paymentType: Credit Card
                ein: 12-3456789
                commissionPercentage: '10'
                address: 123 W Main St
                city: Camden
                state: New Jersey
                zipCode: '44542'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '429':
          $ref: '#/components/responses/429'
        '404':
          $ref: '#/components/responses/404'
    put:
      tags:
      - Agencies
      summary: Update an Agency
      description: Update an existing agency by sending the attributes you wish to update in the request body.
      operationId: updateAnAgency
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the Organization in the form of a UUID
        example: 3ea516ea-a2d1-11e6-8e62-83147939747c
      - name: agency_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the Agency in the form of a UUID
        example: 8d3f0828-a6ab-11e6-b1f6-7f1cbe882371
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
            example:
              name: New agency name
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  agencyId:
                    type: string
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  externalId: {}
                  billingMethod:
                    type: string
                  paymentType:
                    type: string
                  ein:
                    type: string
                  commissionPercentage:
                    type: string
                  address:
                    type: string
                  city:
                    type: string
                  state:
                    type: string
                  zipCode:
                    type: string
              example:
                name: New agency name
                agencyId: 7yw935ih-a6ab-11e6-b1f6-7f1cbe882371
                createdAt: '2019-11-09T18:37:22.070Z'
                updatedAt: '2019-11-09T18:37:22.070Z'
                externalId: null
                billingMethod: Monthly
                paymentType: Credit Card
                ein: 12-3456789
                commissionPercentage: '10'
                address: 123 W Main St
                city: Camden
                state: New Jersey
                zipCode: '44542'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '429':
          $ref: '#/components/responses/429'
        '422':
          $ref: '#/components/responses/422'
        '404':
          $ref: '#/components/responses/404'
    delete:
      tags:
      - Agencies
      summary: Delete an Agency
      description: Remove an agency from the Megaphone platform.
      operationId: deleteAnAgency
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the Organization in the form of a UUID
        example: 3ea516ea-a2d1-11e6-8e62-83147939747c
      - name: agency_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the Agency in the form of a UUID
        example: 8d3f0828-a6ab-11e6-b1f6-7f1cbe882371
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: string
              example:
                success: Agency with id 7yw935ih-a6ab-11e6-b1f6-7f1cbe882371 successfully destroyed
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '429':
          $ref: '#/components/responses/429'
        '422':
          $ref: '#/components/responses/422'
        '404':
          $ref: '#/components/responses/404'
components:
  responses:
    '422':
      description: Validation failed. The request body contains invalid or missing fields.
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
                example:
                  title:
                  - can't be blank
    '404':
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  type: string
                example:
                - Not found
    '401':
      description: Authentication failed. The `Authorization` header is missing or the token is invalid.
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  type: string
                example:
                - Access denied
    '429':
      description: Rate limit exceeded. The API is limited to 60 requests per minute.
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  type: string
                example:
                - Rate limit exceeded
    '403':
      description: The token's organization does not have API access, or the user lacks permission for this resource.
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  type: string
                example:
                - Forbidden
  securitySchemes:
    ApiToken:
      type: apiKey
      in: header
      name: Authorization
      description: A Megaphone API token, sent as `Token token="<your-token>"`.
    ServiceAuthJwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Spotify service-auth JWT. Internal callers only.