Skip to content
Listener.comDevelopers

Partner integrations

For hosting and ad-tech partners: discover and connect a show's accounts, set its podcast identity, look up episodes by your own ids, control auto-build, and record ad-server delivery on campaigns.

Retrieve a show's account discovery

GET/v1/shows/{show_id}/account-discovery

The social accounts Listener's discovery found for a show (YouTube, Instagram, TikTok, X, Facebook, Threads, LinkedIn): handle, profile URL, followers, confidence (high, medium, low) and why it was picked. Each candidate carries its connection state against the show's current integrations (connected, connected_account, matches_candidate) and connect_via: api (connect it with PUT /v1/shows/{show_id}/integrations/{platform}) or app_sign_in (a person signs in from verify_url).

verify_url is the show's integrations page in the right Listener app (Listener Networks for network workspaces, Listener for creators); send people there to review and confirm. status is none until a run starts, then running or done.

SDKlistener.shows.accountDiscovery.retrieve()client.shows.account_discovery.retrieve()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • show_idstringrequired
  • show_namestringrequired
  • statusstringrequired
    'none' (never run), 'running', 'done' or 'failed'.
  • verify_urlstring (uri)required
    Deep link to the show's integrations page in the right Listener app, for a person to review and connect accounts.
  • computed_atstring (date-time)required
  • objectstringrequired
  • websitestring (uri)nullable
  • ran_atstringnullable
  • runsinteger

    Default 0

  • committed_atstringnullable
    When someone confirmed the accounts in onboarding, if they did.
  • candidatesarray of objects
    Show child attributesHide child attributes
  • summaryobject
    Show child attributesHide child attributes
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Run account discovery for a show

POST/v1/shows/{show_id}/account-discovery

Run account discovery for a show, the same search Listener's onboarding uses: it finds the show's public accounts, checks each profile, stores the result on the show and returns the candidates with their connection state. Nothing is connected.

Needs "confirm": true: every run is metered (web search, model and scraper credits) and capped per show, and a show that already has a result gets it back without a new search. Send "force": true to search again from scratch: the stored result (and its run count) is cleared, as is profile.website when the previous run filled it in, then the search runs (at most one forced run per show per hour; ignored while a run is in progress). A running status means the search is still going: read GET /v1/shows/{show_id}/account-discovery a minute later. A dry run returns the request without starting anything.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.
  • Requires "confirm": true; without it the API answers 409 confirmation_required with the exact preview.

SDKlistener.shows.accountDiscovery.start()client.shows.account_discovery.start()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • forceboolean

    Default false

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Connect a platform to a show

PUT/v1/shows/{show_id}/integrations/{platform}

Connect a platform to a show the same way the Listener apps' Integrations page does: the account is seeded, its first data refresh runs and it is listed on the show's public page. The response says whether it connected, which account, and whether the first refresh finished (refreshed).

Public-profile platforms (instagram, tiktok, twitter, facebook, threads, linkedin) take handle (e.g. dugoutdaily) or the profile url; LinkedIn needs the URL. simplecast takes api_key and optionally podcast_id; the key is never returned. youtube, instagramBusiness, facebookBusiness (a Facebook Page connected with Facebook sign-in, for Meta's own Page insights), spotify and applePodcasts need a person to sign in (Google or Meta sign-in, or the Listener browser extension) and answer 400 oauth_required with connect_url: a link that opens that show's connect step for that platform, to send to the person. youtube with a handle or url is the exception: the public channel is saved as the show's channel and searched for its videos and Shorts (details.status is attached), while channel analytics still need Google sign-in (details.connect_url). A facebook handle or URL is refused while the show's Page is connected with Facebook sign-in. Connecting a platform that is connected to another account replaces it (a warning says so). Emits integration.connected (source: "api") once; the change poller does not announce it a second time. Connections made in the Listener apps arrive as integration.connected with source: "app".

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.shows.integrations.connect()client.shows.integrations.connect()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).
  • platformstringrequired
    A platform key (e.g. youtube, spotify, apple_podcasts, instagram).
    One ofinstagramtiktoktwitterfacebookthreadslinkedinsimplecastyoutubeinstagram_businessfacebook_businessspotifyapple_podcastsbuzzsproutpodigeepodbeanspreaker

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • handlestringnullable
    Public URL handle (lowercase, hyphens).
  • urlstring (uri)nullable
    HTTPS URL.
  • api_keystringnullable
  • podcast_idstringnullable
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Disconnect a platform from a show

DELETE/v1/shows/{show_id}/integrations/{platform}

Disconnect a platform from a show the same way the Integrations page does; the response includes the state and account it had. Needs "confirm": true (send ?confirm=true): the show stops refreshing that platform until someone connects it again. Emits integration.disconnected (source: "api") once; the change poller does not announce it a second time.

  • Send ?dry_run=true to get {"object": "dry_run", "would_write": …} without writing anything.
  • Requires ?confirm=true; without it the API answers 409 confirmation_required with the exact preview.

SDKlistener.shows.integrations.disconnect()client.shows.integrations.disconnect()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).
  • platformstringrequired
    A platform key (e.g. youtube, spotify, apple_podcasts, instagram).
    One ofinstagramtiktoktwitterfacebookthreadslinkedinsimplecastyoutubeinstagram_businessfacebook_businessspotifyapple_podcastsbuzzsproutpodigeepodbeanspreaker

Query parameters

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Set a show's podcast identity

PUT/v1/shows/{show_id}/podcast

Set the listing ids that identify the show: rss_url, apple_podcasts_id, spotify_id, podchaser_id and simplecast_podcast_id, the same fields Listener stores when a show is picked during onboarding. Only the fields you send change; an empty string clears one. Ids are validated and may be sent as the platform's own URLs (podcasts.apple.com/…/id123…, open.spotify.com/show/…, podchaser.com/podcasts/…-123).

These are references used to match the show and its episodes. They do not connect Spotify, Apple Podcasts or Simplecast; connect Simplecast with PUT /v1/shows/{show_id}/integrations/simplecast.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.shows.setPodcast()client.shows.set_podcast()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • rss_urlstring (uri)nullable
  • apple_podcasts_idstringnullable
  • spotify_idstringnullable
  • podchaser_idstringnullable
  • simplecast_podcast_idstringnullable
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Look up an episode by a partner's identifiers

GET/v1/shows/{show_id}/episodes/lookup

Find the Listener episode behind your own identifiers. Send any of simplecast_episode_id, guid (the RSS item guid), apple_episode_id, spotify_episode_id, title and published_on (YYYY-MM-DD). Each match returns the Listener episode_id (use it with every episode endpoint), its cluster id and public cluster URL, and match with by (what matched) and confidence:

  • exact: an id or guid stored on the episode;
  • high: the same title within a day of the date (or a title unique in the show when no date is sent);
  • medium: the same title on another day, or a near-identical title within a day;
  • low: a similar title within a day.

A Simplecast episode id stored on the episode (episodes imported from the feed by POST /v1/connections) is exact. Otherwise it is resolved through the show's Simplecast analytics, or, without them (no Simplecast API key), through the show's RSS feed (podcastMetadata.rssUrl, read at most hourly): the item whose <guid> (match.by: rss_guid) or Simplecast enclosure URL (rss_enclosure; Simplecast puts the episode id there, the guid of a show that moved to Simplecast is its old one) carries the id gives the title and publish date, then matched: high for the same title within a day. A guid no stored row carries is looked up in the feed the same way. best is set only for an exact or high match that no other episode ties; otherwise review matches. Nothing is guessed silently: note explains misses.

  • Send at least one of: simplecast_episode_id or guid or apple_episode_id or spotify_episode_id or title (otherwise 400 parameter_missing/parameter_invalid names the parameter).

SDKlistener.shows.episodes.lookup()client.shows.episodes.lookup()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).

Query parameters

  • simplecast_episode_idstringnullable
  • guidstringnullable
  • apple_episode_idstringnullable
  • spotify_episode_idstringnullable
  • titlestringnullable
    Title.
  • published_onstringnullable
  • limitinteger1 to 20
    Maximum number of items to return.

    Default 5

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • show_idstringrequired
  • computed_atstring (date-time)required
  • objectstringrequired
  • querymap of string
  • bestobjectnullable
    Set only when the top match is exact or high confidence and unambiguous; otherwise null.
    Show child attributesHide child attributes
  • matchesarray of objects
    Show child attributesHide child attributes
  • ambiguousboolean

    Default false

  • simplecast_episodeobjectnullable
    The Simplecast episode the id resolved to (title and date from the show's Simplecast analytics, else its RSS feed; see source).
    Show child attributesHide child attributes
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Retrieve a show's auto-build setting and statuses

GET/v1/shows/{show_id}/auto-build

The show's auto-build setting and recent per-episode build statuses. mode is off, suggest (posts are recorded for review) or auto (the sure ones are added to the episode's cluster); legacy marks a mode read from the older on/off switch. statuses lists the latest episodes first (building, ready, built, nothing, failed, accepted, dismissed) with cluster ids and reasons; counts covers every stored status.

New episodes are picked up by Listener's hourly auto-build run (episodes from the last 14 days without a cluster). To build an episode the moment you publish it, call POST /v1/cluster-builds with scope: "episodes" and its episode id.

SDKlistener.shows.autoBuild.retrieve()client.shows.auto_build.retrieve()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).

Query parameters

  • limitinteger1 to 100
    Maximum number of items to return.

    Default 20

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • show_idstringrequired
  • modestringrequired
    One ofoffsuggestautodraft
  • schedulestringrequired
    How new episodes are picked up.
  • computed_atstring (date-time)required
  • objectstringrequired
  • legacyboolean
    True when the mode comes from the older on/off automation switch (reads as 'auto').

    Default false

  • enabled_atstringnullable
  • updated_atstring (date-time)nullable
  • last_runobjectnullable
  • countsmap of integer
    Status → number of episodes, across every stored status.
  • statusesarray of objects
    Most recent per-episode statuses first.
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Set a show's auto-build mode

PUT/v1/shows/{show_id}/auto-build

Turn auto-build on (suggest or auto) or off for a show, as the Episodes page does, and return the previous and new mode. The hourly auto-build run then picks up new episodes; for an immediate build after publishing call POST /v1/cluster-builds. draft is refused: it is a per-build policy the hourly run never uses.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.shows.autoBuild.update()client.shows.auto_build.update()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • modestringrequired
    How the change applies (see the operation description).
    One ofoffsuggestautodraft
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Find an episode across the workspace

GET/v1/episodes

Find an episode by a partner's identifiers across every show of the workspace and return the matches with their show, how each matched (match.by, match.confidence) and the episode's cluster (global id plus public and embed URLs). Send simplecast_episode_id, guid, apple_episode_id, spotify_episode_id or title (+ published_on). best is set only for one exact or high-confidence match nothing ties. A simplecast_episode_id resolves through stored episodes, Simplecast analytics or the show's RSS feed (match.by: rss_guid / rss_enclosure, see the per-show lookup); up to 10 feeds are read per request. Up to 200 shows are searched per request; narrow large networks with show_ids. For one show use GET /v1/shows/{show_id}/episodes/lookup.

  • Send at least one of: simplecast_episode_id or guid or apple_episode_id or spotify_episode_id or title (otherwise 400 parameter_missing/parameter_invalid names the parameter).

SDKlistener.episodes.lookup()client.episodes.lookup()

Query parameters

  • simplecast_episode_idstringnullable
  • guidstringnullable
  • apple_episode_idstringnullable
  • spotify_episode_idstringnullable
  • titlestringnullable
    Title.
  • published_onstringnullable
  • show_idsarray of stringsnullable
    Limit to these show ids (default: every show in the workspace). Repeat the parameter or comma-separate values.
  • limitinteger1 to 20
    Maximum number of items to return.

    Default 5

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • computed_atstring (date-time)required
  • objectstringrequired
  • querymap of string
  • bestobjectnullable
    Set only for one exact / high-confidence match across every searched show.
    Show child attributesHide child attributes
  • matchesarray of objects
    Show child attributesHide child attributes
  • ambiguousboolean

    Default false

  • shows_searchedinteger

    Default 0

  • shows_skippedinteger
    Shows not searched because the workspace has more than the per-request cap (narrow with show_ids).

    Default 0

  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Retrieve a cluster's mapping

GET/v1/clusters/{cluster_ref}

A cluster's mapping by its global id ({show_id}_{cluster_id}, the id cluster objects carry): every linked episode, clip and post with platform, URL, format (episode, long, short, post), title and publish date, newest first. The full canvas, metrics and EMV are at GET /v1/shows/{show_id}/clusters/{cluster_id}.

SDKlistener.clusters.retrieve()client.clusters.retrieve()

Path parameters

  • cluster_refstringrequiredpattern ^[^_/]+_.+$
    Global id {show_id}_{cluster_id} (as returned in id; cluster ids are unique per show only).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • clusterobjectrequired
    Show child attributesHide child attributes
  • titlestringrequired
  • cluster_typestringrequired
  • computed_atstring (date-time)required
  • objectstringrequired
  • episode_idsarray of strings
  • itemsarray of objects
    Every linked episode, clip and post, newest first.
    Show child attributesHide child attributes
  • item_countinteger

    Default 0

  • cache_age_secondsnumber

    Default 0

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Retrieve a cluster's metrics

GET/v1/clusters/{cluster_ref}/metrics

A cluster's numbers, level: "cluster" (the items attached to the episode's cluster, not account analytics): totals for YouTube, audio and social, then per platform and per item views, likes, comments, post_count, each with last_refreshed_at and source (stored = saved by the last refresh, history = an imported or hand-set figure, live = fetched for this request). warnings flags accounts that are not connected, items that returned no data and figures older than 36 h; definitions says in one line what each metric and platform counts (e.g. YouTube public views, not engaged views). Refresh with POST /v1/clusters/{cluster_ref}/refresh.

SDKlistener.clusters.metrics()client.clusters.metrics()

Path parameters

  • cluster_refstringrequiredpattern ^[^_/]+_.+$
    Global id {show_id}_{cluster_id} (as returned in id; cluster ids are unique per show only).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • clusterobjectrequired
    Show child attributesHide child attributes
  • titlestringrequired
  • totalsobjectrequired
    Show child attributesHide child attributes
  • computed_atstring (date-time)required
  • objectstringrequired
  • levelstring
    Cluster-level numbers: the sum of the clips / posts / episode attached to this cluster (not account analytics).

    Default "cluster"

  • platformsarray of objects
    Show child attributesHide child attributes
  • itemsarray of objects
    Show child attributesHide child attributes
  • last_refreshed_atstringnullable
  • warningsarray of strings
    Disconnected accounts, platforms returning no data, figures older than 36 h.
  • definitionsmap of string
    One line per metric and platform: what the number counts.
  • cache_age_secondsnumber

    Default 0

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Retrieve many clusters' metrics

POST/v1/clusters/metrics/batch

The metrics of up to 100 clusters in one request, for backfills and periodic syncs. Send cluster_refs, an array of global cluster ids ({show_id}_{cluster_id}, the id cluster objects carry). The response is a list with one batch_result per ref, in the order sent: index, id (the ref as sent), status and either result (the fields of GET /v1/clusters/{cluster_ref}/metrics) or error (type, code, message, param such as cluster_refs[3]): a malformed ref answers 400 parameter_invalid, an unknown show or cluster 404 resource_not_found. One bad ref never fails the request; meta counts requested, succeeded and failed.

Read-only and never metered: figures are the stored ones from each cluster's last refresh (last_refreshed_at, source). Refresh a cluster on demand (when someone views it) with POST /v1/clusters/{cluster_ref}/refresh. More than 100 refs answers 400 parameter_invalid (param: cluster_refs); split the batch.

  • Batch: up to 100 items in cluster_refs; each item gets its own status and result or error (one bad item never fails the request). Costs 1 rate-limit token per 10 items, rounded up (100 items = 10 tokens). Read-only: no metered provider calls.

SDKlistener.clusters.metricsBatch()client.clusters.metrics_batch()

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Request body

application/json
  • cluster_refsarray of stringsrequired

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Look up many episodes of a show

POST/v1/shows/{show_id}/episodes/lookup/batch

Up to 100 episode lookups on one show in one request (e.g. every Simplecast episode id of a show you are backfilling). Each entry of lookups takes the identifiers of GET /v1/shows/{show_id}/episodes/lookup: simplecast_episode_id, guid, apple_episode_id, spotify_episode_id, title, published_on. The response is a list with one batch_result per lookup, in the order sent: index, query, status and either result (the fields of the single lookup: best, matches, ambiguous, simplecast_episode, note) or error: a lookup with no identifier answers 400 parameter_missing, a malformed published_on 400 parameter_invalid (param: lookups[2].published_on). An episode that is not found is not an error: status 200 with result.best: null and a note. meta.matched counts lookups with a confident best match.

The show's stored episodes, Simplecast analytics and RSS feed are read once for the whole batch. limit caps the matches per lookup (1–5, default 3). More than 100 lookups answers 400 parameter_invalid (param: lookups).

  • Batch: up to 100 items in lookups; each item gets its own status and result or error (one bad item never fails the request). Costs 1 rate-limit token per 10 items, rounded up (100 items = 10 tokens). Read-only: no metered provider calls.

SDKlistener.shows.episodes.lookupBatch()client.shows.episodes.lookup_batch()

Path parameters

  • show_idstringrequired
    A show id in this workspace (see GET /v1/shows).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Request body

application/json
  • lookupsarray of objectsrequired
    Show child attributesHide child attributes
  • limitinteger1 to 5
    Maximum number of items to return.

    Default 3

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Refresh a cluster (global id)

POST/v1/clusters/{cluster_ref}/refresh

Re-fetch every clip and post of the cluster {show_id}_{cluster_id} from its platforms; the same refresh as POST /v1/shows/{show_id}/clusters/{cluster_id}/refresh. Needs "confirm": true (one metered provider call per node). When the numbers change, cluster.updated fires once with the changed metric names and the previous totals.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.
  • Requires "confirm": true; without it the API answers 409 confirmation_required with the exact preview.

SDKlistener.clusters.refresh()client.clusters.refresh()

Path parameters

  • cluster_refstringrequiredpattern ^[^_/]+_.+$
    Global id {show_id}_{cluster_id} (as returned in id; cluster ids are unique per show only).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

List a campaign's external ad-server delivery

GET/v1/campaigns/{campaign_id}/external-delivery

Delivery reported by external ad servers (AdsWizz, AudioServe or other) on a campaign: impressions and optional listeners per day or period, per slot and show, newest first, with meta.totals_by_source. These are true counts from the ad server, kept apart: they are never added to Listener reach, impressions or EMV.

SDKlistener.campaigns.externalDelivery.list()client.campaigns.external_delivery.list()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Query parameters

  • sourcestringnullable
    One ofadswizzaudioserveother
  • limitinteger1 to 100
    Page size, 1–100 (default 25).

    Default 25

  • cursorstring
    Opaque cursor from the previous page's next_cursor.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Record external ad-server delivery on a campaign

POST/v1/campaigns/{campaign_id}/external-delivery

Record ad-server delivery on a campaign. Each row has source (adswizz, audioserve, other), either date or start_date + end_date, impressions, and optionally listeners, slot_id, show_id, label and note. A row with the same source, slot, show and day (or period) as a stored row updates it instead of adding a duplicate, so re-sending a day is safe. Up to 500 rows per request and 2,000 per campaign. The response lists the row ids added and updated and the totals per source. Emits campaign.updated. These counts are never added to Listener reach totals.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.campaigns.externalDelivery.create()client.campaigns.external_delivery.create()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • rowsarray of objectsrequired
    Show child attributesHide child attributes
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Delete an external delivery row

DELETE/v1/campaigns/{campaign_id}/external-delivery/{row_id}

Delete one external delivery row (xd_…) from a campaign. Needs "confirm": true (send ?confirm=true); there is no undo. Emits campaign.updated.

  • Send ?dry_run=true to get {"object": "dry_run", "would_write": …} without writing anything.
  • Requires ?confirm=true; without it the API answers 409 confirmation_required with the exact preview.

SDKlistener.campaigns.externalDelivery.delete()client.campaigns.external_delivery.delete()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).
  • row_idstringrequired

Query parameters

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

List connections

GET/v1/connections

Newest first, paged with limit (1–100, default 25) and cursor (keyset on creation time, so connections created while you page never shift a page). Each connection carries its show_id and simplecast_show_id: the map a partner backfill starts from.

SDKlistener.connections.list()client.connections.list()

Query parameters

  • show_idstringnullable
    Only this show's connections.
  • limitinteger1 to 100
    Page size, 1–100 (default 25).

    Default 25

  • cursorstring
    Opaque cursor from the previous page's next_cursor.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Connect a Simplecast show

POST/v1/connections

Link a Simplecast show to its Listener show and start onboarding. The show is matched by show_id, else by the Simplecast id or feed URL already stored on a show (a creator's own show always matches); networks never get new shows from the API (unmatched → 404 with what to do). Sets the show's podcast identity (Simplecast id + RSS URL, same as PUT /v1/shows/{show_id}/podcast), fills an empty creator profile name / artwork from the feed, imports the feed's episodes into the show's stored episodes (so GET /v1/shows/{show_id}/episodes and GET /v1/episodes find them right away; episodes_imported and episode_import report the counts; rows already stored, e.g. from Spotify, are linked by Simplecast id / guid / title + day and never replaced; older episodes past the show's storage budget are skipped and counted), and with discover: true starts account discovery (force: true searches again from scratch). Returns the connection with onboarding_url (the verify-accounts screen in the right Listener app) and accounts_url. Repeating it for the same show and Simplecast id updates the existing connection. status: pending → verified (an account is connected) → active (Simplecast and another account connected).

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.connections.create()client.connections.create()

Headers

  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • simplecast_show_idstringrequired
    The Simplecast show (podcast) id, a UUID.
  • feed_urlstring (uri)required
    The show's RSS feed URL.
  • show_idstringnullable
    The Listener show to link. Optional: otherwise matched by Simplecast id or feed URL (creators: their own show).
  • discoverboolean
    Also start account discovery for the show (metered: needs confirm: true).

    Default false

  • forceboolean
    With discover: true: clear the stored discovery result (and the website it filled in) and search again from scratch. At most once per show per hour.

    Default false

  • import_episodesboolean
    Import the feed's episodes into the show's stored episodes (default true). Episodes already stored are linked, never replaced.

    Default true

  • confirmbooleannullable
    Required with discover: true (discovery spends search, model and scraper credits).
  • dry_runboolean
    Validate and return what would be written without calling the service.

    Default false

Returns

200 · 201

Dry run: what would be created (nothing was written).

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • would_writeobjectrequired
    The fields that would be written, in the resource's snake_case shape.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • idstringnullable
    The resource id (null when a dry run creates something new).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when the write would be refused upstream (see error).
  • errorstringnullable
  • requires_confirmboolean
    Present (true) when the real request needs confirm: true (?confirm=true for DELETE): destructive or metered actions.
  • notestring
    What the real request needs, when requires_confirm is set.

Created.

  • show_idstringrequired
    The Listener show the connection links.
  • statusstringrequired
    pending: no account verified yet; verified: an account is connected; active: Simplecast and another account are connected.
    One ofpendingverifiedactive
  • objectstring

    Default "connection"

  • idstringnullable
    conn_… (null in a dry run that would create one).
  • simplecast_show_idstringnullable
    The Simplecast show (podcast) id.
  • feed_urlstring (uri)nullable
    The show's RSS feed.
  • matched_bystringnullable
    How the show was found.
    One ofshow_idsimplecast_show_idfeed_urlcreator
  • onboarding_urlstring (uri)nullable
    The verify-accounts screen in the right Listener app (network or creator).
  • accounts_urlstring (uri)nullable
    GET this for the accounts found for the show.
  • accountsobject
    Show child attributesHide child attributes
  • episodes_importedinteger
    Episodes the last connect imported from the RSS feed (0 in a dry run; see would_set).

    Default 0

  • episode_importobjectnullable
    The last episode import (null before one ran).
    Show child attributesHide child attributes
  • client_idstringnullable
    The OAuth app that created the connection, when one did.
  • created_atstring (date-time)nullable
  • updated_atstring (date-time)nullable
  • discovery_statusstringnullable
    Create only: account discovery status when discover was sent (done, running, failed).
  • warningsarray of stringsnullable
    Create only: anything worth knowing (feed unreadable, episodes skipped, discovery reset …).

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Retrieve a connection

GET/v1/connections/{connection_id}

SDKlistener.connections.retrieve()client.connections.retrieve()

Path parameters

  • connection_idstringrequired
    Connection id (conn_…).

Returns

200

OK

  • show_idstringrequired
    The Listener show the connection links.
  • statusstringrequired
    pending: no account verified yet; verified: an account is connected; active: Simplecast and another account are connected.
    One ofpendingverifiedactive
  • objectstring

    Default "connection"

  • idstringnullable
    conn_… (null in a dry run that would create one).
  • simplecast_show_idstringnullable
    The Simplecast show (podcast) id.
  • feed_urlstring (uri)nullable
    The show's RSS feed.
  • matched_bystringnullable
    How the show was found.
    One ofshow_idsimplecast_show_idfeed_urlcreator
  • onboarding_urlstring (uri)nullable
    The verify-accounts screen in the right Listener app (network or creator).
  • accounts_urlstring (uri)nullable
    GET this for the accounts found for the show.
  • accountsobject
    Show child attributesHide child attributes
  • episodes_importedinteger
    Episodes the last connect imported from the RSS feed (0 in a dry run; see would_set).

    Default 0

  • episode_importobjectnullable
    The last episode import (null before one ran).
    Show child attributesHide child attributes
  • client_idstringnullable
    The OAuth app that created the connection, when one did.
  • created_atstring (date-time)nullable
  • updated_atstring (date-time)nullable
  • discovery_statusstringnullable
    Create only: account discovery status when discover was sent (done, running, failed).
  • warningsarray of stringsnullable
    Create only: anything worth knowing (feed unreadable, episodes skipped, discovery reset …).

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Delete a connection

DELETE/v1/connections/{connection_id}

Removes the connection record only; the show, its podcast identity and its integrations stay.

  • Send ?dry_run=true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.connections.delete()client.connections.delete()

Path parameters

  • connection_idstringrequired
    Connection id (conn_…).

Query parameters

  • dry_runboolean
    Validate and return what would be written without calling the service.

    Default false

Headers

  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Returns

200

OK

One of:

DeletedObject
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

List a connection's accounts

GET/v1/connections/{connection_id}/accounts

The accounts found for the show (account discovery candidates plus integrations already connected), each verified (connected, and the same account discovery proposed) or pending (found, not connected yet). People verify them at the connection's onboarding_url.

SDKlistener.connections.accounts()client.connections.accounts()

Path parameters

  • connection_idstringrequired
    Connection id (conn_…).

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error