{"openapi":"3.1.0","info":{"title":"Megaphone (BYOK) API","version":"0.1.0","description":"Megaphone (BYOK) lets an AI assistant read your own Megaphone data through the Megaphone API with a key you supply (Megaphone API token). Read-only: 8 tools (list_networks, get_network, list_podcasts, get_podcast, list_episodes, get_episode, search_episodes, list_organization_tags). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-megaphone.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-megaphone/docs"},"termsOfService":"https://connectorbay.com/byok-megaphone/terms"},"servers":[{"url":"https://byok-megaphone.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-megaphone/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_networks":{"post":{"operationId":"list_networks","summary":"List the podcast networks of a Megaphone organization with name, code, podcast count and creation time. Use for \"Which p","description":"List the podcast networks of a Megaphone organization with name, code, podcast count and creation time. Use for \"Which podcast networks are in my Megaphone organization\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"organization_id":{"description":"Megaphone organization ID (a UUID), shown in the Megaphone account settings.","maxLength":40,"title":"Organization Id","type":"string"},"updated_since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated since this time, for example 2026-01-01T00:00:00+0000.","title":"Updated Since"}},"required":["organization_id"],"title":"list_networksArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_network":{"post":{"operationId":"get_network","summary":"Get one Megaphone network: name, code, podcast count and creation time. Use for \"How many podcasts does this Megaphone n","description":"Get one Megaphone network: name, code, podcast count and creation time. Use for \"How many podcasts does this Megaphone network have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"organization_id":{"description":"Megaphone organization ID (a UUID), shown in the Megaphone account settings.","maxLength":40,"title":"Organization Id","type":"string"},"network_id":{"description":"Megaphone network ID (a UUID), from list_networks.","maxLength":40,"title":"Network Id","type":"string"}},"required":["organization_id","network_id"],"title":"get_networkArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_podcasts":{"post":{"operationId":"list_podcasts","summary":"List the podcasts (shows) in a Megaphone network with title, author, language, categories, feed URL and episode count. O","description":"List the podcasts (shows) in a Megaphone network with title, author, language, categories, feed URL and episode count. Owner emails are left out. Use for \"What podcasts are in my Megaphone network\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"network_id":{"description":"Megaphone network ID (a UUID), from list_networks.","maxLength":40,"title":"Network Id","type":"string"},"external_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only items whose externalId matches this value.","title":"External Id"},"updated_since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated since this time, for example 2026-01-01T00:00:00+0000.","title":"Updated Since"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items per page (1 to 100). The provider reports the paging in response headers.","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["network_id"],"title":"list_podcastsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_podcast":{"post":{"operationId":"get_podcast","summary":"Get one Megaphone podcast: title, author, language, categories, type, feed URL, tags and episode count. Use for \"What is","description":"Get one Megaphone podcast: title, author, language, categories, type, feed URL, tags and episode count. Use for \"What is the feed URL and category of this Megaphone podcast\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"network_id":{"description":"Megaphone network ID (a UUID), from list_networks.","maxLength":40,"title":"Network Id","type":"string"},"id":{"description":"Megaphone podcast ID (a UUID), from list_podcasts.","maxLength":40,"title":"Id","type":"string"}},"required":["network_id","id"],"title":"get_podcastArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_episodes":{"post":{"operationId":"list_episodes","summary":"List episode metadata of a Megaphone podcast (title, publish date, season and episode number, duration, draft flag, proc","description":"List episode metadata of a Megaphone podcast (title, publish date, season and episode number, duration, draft flag, processing status). Audio files are not returned. Use for \"What episodes has my Megaphone podcast published recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"network_id":{"description":"Megaphone network ID (a UUID), from list_networks.","maxLength":40,"title":"Network Id","type":"string"},"podcast_id":{"description":"Megaphone podcast ID (a UUID), from list_podcasts.","maxLength":40,"title":"Podcast Id","type":"string"},"draft":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for only draft episodes, false for only non-draft ones; leave out for all.","title":"Draft"},"external_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only items whose externalId matches this value.","title":"External Id"},"updated_since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated since this time, for example 2026-01-01T00:00:00+0000.","title":"Updated Since"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items per page (1 to 100). The provider reports the paging in response headers.","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["network_id","podcast_id"],"title":"list_episodesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_episode":{"post":{"operationId":"get_episode","summary":"Get one Megaphone episode's metadata: title, summary, publish date, numbering, duration, status and ad insertion counts.","description":"Get one Megaphone episode's metadata: title, summary, publish date, numbering, duration, status and ad insertion counts. Use for \"What is the status of this Megaphone episode\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"network_id":{"description":"Megaphone network ID (a UUID), from list_networks.","maxLength":40,"title":"Network Id","type":"string"},"podcast_id":{"description":"Megaphone podcast ID (a UUID), from list_podcasts.","maxLength":40,"title":"Podcast Id","type":"string"},"id":{"description":"Megaphone episode ID (a UUID), from list_episodes.","maxLength":40,"title":"Id","type":"string"}},"required":["network_id","podcast_id","id"],"title":"get_episodeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_episodes":{"post":{"operationId":"search_episodes","summary":"Search episodes across everything the token can access, ordered newest first, filtered by external ID or an updated or p","description":"Search episodes across everything the token can access, ordered newest first, filtered by external ID or an updated or publish time window. Use for \"Which Megaphone episodes were published since January\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"organization_id":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Megaphone organization ID (UUID) to search within.","title":"Organization Id"},"published":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"Pass true to return only published episodes; leave out for all.","title":"Published"},"external_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only items whose externalId matches this value.","title":"External Id"},"order_by":{"anyOf":[{"enum":["updatedAt","pubdate"],"type":"string"},{"type":"null"}],"default":null,"description":"Order by updatedAt or pubdate (always descending).","title":"Order By"},"filter_by":{"anyOf":[{"enum":["updatedAt","pubdate"],"type":"string"},{"type":"null"}],"default":null,"description":"Field the filterMin and filterMax window applies to: updatedAt or pubdate.","title":"Filter By"},"filter_min":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Minimum value (inclusive) of the filterBy field, ISO 8601, for example 2026-01-01T00:00:00.000Z.","title":"Filter Min"},"filter_max":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Maximum value (inclusive) of the filterBy field, ISO 8601.","title":"Filter Max"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"How many items per page (1 to 100). The provider reports the paging in response headers.","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"search_episodesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_organization_tags":{"post":{"operationId":"list_organization_tags","summary":"List the organization tags that can be attached to podcasts, episodes or orders, with how many podcasts and episodes use","description":"List the organization tags that can be attached to podcasts, episodes or orders, with how many podcasts and episodes use each. Use for \"Which tags does my Megaphone organization use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"organization_id":{"description":"Megaphone organization ID (a UUID), shown in the Megaphone account settings.","maxLength":40,"title":"Organization Id","type":"string"}},"required":["organization_id"],"title":"list_organization_tagsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}