Skip to content
Listener.comDevelopers

Workspace & shows

The workspace (network, subnetwork or solo show), its shows, plan, team, integrations and public profiles.

List shows

GET/v1/shows

The workspace's shows with profile, plan, connected platforms and public URLs.

category matches any of a show's categories (case-insensitive); search matches name, handle and description. Hidden shows (every category hidden on the profile) are left out unless include_hidden=true.

SDKlistener.shows.list()client.shows.list()

Query parameters

  • categorystringnullable
  • searchstringnullable
    Case-insensitive text filter.
  • include_hiddenboolean

    Default false

  • 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

Add shows to the network

POST/v1/shows

Add podcasts from the directory to this network as shows, the same thing the app's Add shows page does. Returns the new show ids in data.show_ids and one row per show in data.added.

Each entry of shows has a name; a name that matches exactly one podcast is added. Anything else is left out and returned in data.needs_choice with candidates: send it again with the candidate's podchaser_id. An entry that also carries the apple_id GET /v1/podcasts/publishers returned is added exactly, with no name matching. A show the network already has is reused, never created twice. "set_up": true (needs "confirm": true, metered) also finds each new show's accounts, connects the ones Listener is sure about, loads its episodes and builds its first clusters in the background. subnetwork (an existing subnetwork's id or name, or a new name) puts every added show in that subnetwork in the same request, creating it when it does not exist; subnetwork_logo (an image URL) sets that subnetwork's logo in the same request.

A show the directory does not list is created in the same request with "not_in_directory": true: its name plus any of youtube (channel link), accounts (profile links on X, Instagram, TikTok, Facebook, Threads or LinkedIn, or {platform, handle}), logo, about, website and author; logo and about come from the YouTube channel when left out. accounts on any show are connected in the background (accounts_connecting); a YouTube channel is saved as the show's channel, and its analytics still need a person to sign in. Network and subnetwork workspaces only; at most 60 shows per request.

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

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
  • showsarray of objectsrequired
    Show child attributesHide child attributes
  • set_upboolean

    Default false

  • subnetworkstringnullable
    Put the shows in this subnetwork: the id or name of an existing one, or the name of a new one to create.
  • subnetwork_logostringnullable
    An http(s) image URL to set as that subnetwork's logo in the same call (needs subnetwork).
  • 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 · 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.

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • idstringrequirednullable
    The resource id (null when a dry run creates something new).
  • writtenobjectrequired
    The fields written, snake_case; server timestamps as ISO 8601 UTC.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when an upstream refused the write; nothing changed (see error).
  • errorstringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Retrieve a show

GET/v1/shows/{show_id}

One show's full profile: hosts, categories, podcast metadata (RSS, Spotify and Apple ids), Spotify rating, sponsorship packages, past guests, collaborations, per-platform connection state and freshness, and public URLs. branding is the look of the show's public page: its page_template (empty for the standard design), whether its own branding is on, and the logo and colours it uses (what POST /v1/network/branding/apply and PATCH /v1/shows/{show_id} set). Each host in hosts has the id that PUT /v1/hosts accepts in remove.

SDKlistener.shows.retrieve()client.shows.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

  • idstringrequired
  • namestringrequired
  • planstringrequired
  • podcast_metadataobjectrequired
    Show child attributesHide child attributes
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • handlestring

    Default ""

  • imagestringnullable
  • descriptionstring

    Default ""

  • authorstring

    Default ""

  • websitestring (uri)nullable
  • categoriesarray of strings
  • hidden_categoriesarray of strings
  • main_platformstringnullable
  • agency_managedboolean

    Default false

  • created_bystringnullable
  • created_atstring (date-time)nullable
  • updated_atstring (date-time)nullable
  • hostsarray of objects
    Show child attributesHide child attributes
  • show_host_sectionboolean

    Default false

  • brandingobject
    The public page's look: page_template ('' is the current design), branding_enabled, logo, primary_color, secondary_color. What PATCH /v1/shows/{show_id} and POST /v1/network/branding/apply set.
  • talentarray of objects
    Show child attributesHide child attributes
  • spotify_ratingobjectnullable
    Show child attributesHide child attributes
  • platformsarray of objects
    Show child attributesHide child attributes
  • connected_platformsarray of strings
  • freshnessmap of object
    Show child attributesHide child attributes
  • stale_platformsarray of strings
  • sponsorship_packagesarray of objects
  • collaborationsarray of objects
    Show child attributesHide child attributes
  • past_guestsarray of objects
    Show child attributesHide child attributes
  • survey_dataobjectnullable
    Show child attributesHide child attributes
  • last_cluster_updatestringnullable
  • last_update_statsobjectnullable
  • episode_countintegernullable
  • public_urlstring (uri)nullable
  • app_urlstring (uri)nullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Update a show's public profile

PATCH/v1/shows/{show_id}

Update public-profile fields shown on https://listener.com/{handle}: name, author, logo, about, categories (up to 5), main platform, featured YouTube video (URL or 11-character id), highlighted Spotify episode (URL or 22-character id), publishing schedule, brand colours (#hex), website, and the page's look: page_template (current, prestige, premiere, sleeve, signal, mosaic, poster, dossier, booth), branding_enabled and brand_logo. Only the fields you send change.

Changing handle needs "confirm": true: it is slugified, checked for uniqueness, and the old public URL stops resolving (nothing redirects). Custom stats, display settings, collaborations and email are never touched; hosts are edited with PUT /v1/hosts. The response is the exact update map.

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

SDKlistener.shows.update()client.shows.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
  • podcast_namestringnullable
  • podcast_authorstringnullable
  • podcast_logostringnullable
  • aboutstringnullable
  • categoriesarray of stringsnullable
    Only shows whose categories contain one of these (case-insensitive substring).
  • main_platformstringnullable
  • youtube_videostringnullable
  • highlighted_episodestringnullable
  • publishing_schedulestringnullable
  • custom_schedulestringnullable
  • primary_colorstringnullable
  • secondary_colorstringnullable
  • websitestring (uri)nullable
  • page_templatestringnullable
    One ofcurrentprestigepremieresleevesignalmosaicposterdossierbooth
  • branding_enabledbooleannullable
  • brand_logostringnullable
  • handlestringnullable
    Public URL handle (lowercase, hyphens).
  • 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

Retrieve the plan

GET/v1/plan

The resolved plan (explicit plan → subscription → network → free) and the premium platforms and features it unlocks. Check it before offering an integration the plan locks.

SDKlistener.plan.retrieve()client.plan.retrieve()

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

  • planstringrequired
  • plan_sourcestringrequired
    One ofexplicitsubscriptionis_networkagency_manageddefault_free
  • is_paidbooleanrequired
  • premium_platformsarray of stringsrequired
    Platforms the app marks isPremium (locked on the free plan).
  • locked_platformsarray of stringsrequired
    Premium platforms this plan cannot connect.
  • gated_featuresmap of booleanrequired
    feature → available on this plan.
  • writes_enabledbooleanrequired
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • shows_plansmap of string
    show_id → resolved plan for each managed show.
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Retrieve the team

GET/v1/team

The network team: accepted members, pending invites and talent invites per show. Emails are masked (j***@domain). There are no roles: every teammate has the same access and only the owner manages billing.

SDKlistener.team.retrieve()client.team.retrieve()

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

  • owner_uidstringrequired
  • membersarray of objectsrequired
    Show child attributesHide child attributes
  • pending_invitesarray of objectsrequired
    Show child attributesHide child attributes
  • team_sizeintegerrequired
    Owner + accepted members.
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • talent_by_showarray of objects
    Show child attributesHide child attributes
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Invite a teammate

POST/v1/team/invites

Invite someone to the network's team by email, the way the Team page does: a pending invite is saved and the person joins by registering (or signing in) with that address through the invite link. Every teammate gets the same full access and can invite or remove others; there are no roles and no seat limit.

details.invite_link is the link that lets them join and details.email_sent says whether Listener emailed it; when it is false (see warnings), pass the link on yourself. An address that is already invited or already on the team is refused (400). Solo workspaces have no team: the response has "ok": false and details.note, and nothing changes. Needs workspace:write.

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

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
  • emailstring (email)required
    The person's email address. They must sign up or sign in with exactly this address to join.
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    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.

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • idstringrequirednullable
    The resource id (null when a dry run creates something new).
  • writtenobjectrequired
    The fields written, snake_case; server timestamps as ISO 8601 UTC.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when an upstream refused the write; nothing changed (see error).
  • errorstringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Cancel a pending team invite

POST/v1/team/invites/cancel

Withdraw a pending team invite so its link stops working. Only invites nobody has accepted yet: for someone who already joined use POST /v1/team/members/remove. GET /v1/team masks emails, so send the full address. Nobody's account changes, and the same address can be invited again later. Solo workspaces have no team ("ok": false with details.note). Needs workspace:write.

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

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
  • emailstring (email)required
    The invited email address (the one the invite was sent to).
  • 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

Remove a teammate

POST/v1/team/members/remove

Remove a teammate who has joined the team, by email or by the member_uid from GET /v1/team. They lose access to the workspace right away: the roster entry goes and their own account stops pointing at this workspace (details.access_revoked). Their login is not deleted and anything they own themselves is untouched. The workspace owner cannot be removed.

Needs "confirm": true; dry_run returns exactly what would change. For an invite nobody accepted yet use POST /v1/team/invites/cancel. Solo workspaces have no team ("ok": false with details.note). Needs workspace:write.

  • Send at least one of: email or member_uid (otherwise 400 parameter_missing/parameter_invalid names the parameter).
  • 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.

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
  • emailstring (email)nullable
    The teammate's email address. Pass this or member_uid, not both.
  • member_uidstringnullable
    The teammate's uid from GET /v1/team. Pass this or email, not both.
  • 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

Remove shows and clear dead show links

POST/v1/shows/remove

Take shows out of the network and clear links to shows that no longer exist, in one request.

"remove_dead_links": true clears every link to a show that is already gone (the ids GET /v1/me lists as missing_show_ids). show_ids takes living shows out of the network and out of every subnetwork that lists them; a removed show keeps its own account, data and public page. "delete_show_data": true also deletes, for good, the shows this network created itself; a show with its own account is only unlinked and warnings says so. Needs "confirm": true; send "dry_run": true first to see exactly what would go (details.removed, details.dead_links_found).

details.removal_history lists the removals made through this endpoint (who, when, whether the show was deleted). Shows deleted in the app left no record, so there is no history before that.

  • Send at least one of: show_ids or remove_dead_links (otherwise 400 parameter_missing/parameter_invalid names the parameter).
  • 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.

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
  • show_idsarray of stringsnullable
    Shows to take out of the network (ids from GET /v1/shows).
  • remove_dead_linksboolean
    Also clear every link to a show that no longer exists (GET /v1/me missing_show_ids).

    Default false

  • delete_show_databoolean
    Also delete the show itself (its data and public page) when this network created it. A show with its own account is never deleted.

    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

Create, update or remove host profiles

PUT/v1/hosts

Create, update or remove host profiles (the About Hosts cards on a show's public page) on one or many shows in one request. The response has each show's hosts afterwards in details.shows.

Each entry of shows has a show_id and its changes. hosts are matched to the show's existing hosts by name: a match is updated with only the fields you send, anyone else is added. remove takes hosts off by name; "replace": true makes hosts the whole list; visible shows or hides the section. A host has name, bio (500 characters), photo (image URL) and links for twitter, instagram, linkedin, tiktok, youtube, facebook and substack; each link must be on that platform.

"autofill": true looks up each named host's profiles, photo and bio and fills only what is still empty (for a show sent without hosts, the hosts it already has). It is metered, so it needs "confirm": true: at most 12 hosts per request and 60 a day per workspace. Edits without it never need confirmation.

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

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
  • showsarray of objectsrequired
    Show child attributesHide child attributes
  • autofillboolean
    Also look up each named host's profiles, photo and bio and fill what is still empty (metered; needs "confirm": true).

    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

Carry the network's branding to its shows

POST/v1/network/branding/apply

Put the network's page template, logo and colours on its shows' public pages, the same thing as Apply to shows in the network's page editor. Every show by default, or the ones in show_ids.

It copies what the network has saved (set with PATCH /v1/network); page_template, primary_color, secondary_color and logo use given values instead without changing the network. "template": false or "colors": false applies only the other half; include_cluster_pages also uses the template on the shows' public cluster pages. Shows that already match are left alone. When a show already has a template or branding of its own, that is replaced, so the request needs "confirm": true and names those shows in details.replaces_own_look. Network and subnetwork workspaces only.

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

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
  • show_idsarray of stringsnullable
    The shows to brand (ids from GET /v1/shows). Leave out for every show in the network.
  • templateboolean
    Put the page template on the shows.

    Default true

  • colorsboolean
    Put the logo and colours on the shows.

    Default true

  • page_templatestringnullable
    Use this template instead of the one saved on the network ('current' is the standard design).
    One ofcurrentprestigepremieresleevesignalmosaicposterdossierbooth
  • primary_colorstringnullable
    Use this #hex instead of the network's primary colour.
  • secondary_colorstringnullable
    Use this #hex instead of the network's accent colour.
  • logostringnullable
    Use this http(s) image as the brand logo instead of the network's logo.
  • include_cluster_pagesboolean
    Also use the template on the shows' public cluster pages.

    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

List subnetworks

GET/v1/subnetworks

The network's subnetworks (id, name, handle, show ids, kind, login and activation state, account managers, public URL). Never returns credentials. Solo workspaces get an empty list with meta.note; a subnetwork reports parent_network_uid instead.

Any id, handle or name listed here can be sent as the X-Listener-Workspace request header to run a request inside that subnetwork with the network's own credential.

SDKlistener.subnetworks.list()client.subnetworks.list()

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

Create a subnetwork

POST/v1/subnetworks

Create a subnetwork: a named group of the network's shows, the same grouping the Manage subnetworks page creates. It has no login; the shows stay in the network and can sit in several subnetworks.

show_ids keeps only shows this network manages and account_manager_ids only the network owner or accepted teammates; anything else is left out and named in warnings. handle is made from the name when left out. Network workspaces only: a solo workspace gets ok: false with a note, a subnetwork gets 400. Inviting a team to a subnetwork by email is done in the app.

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

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
  • namestringrequired
    What the network calls it, e.g. "Sports" (120 characters).
  • show_idsarray of stringsnullable
    Shows of this network to put in it (ids from GET /v1/shows). It can start empty.
  • logostringnullable
    An http(s) image URL. Leave it out for initials.
  • handlestringnullable
    Short slug for the subnetwork; made from the name when left out.
  • account_manager_idsarray of stringsnullable
    Uids of the network owner or accepted teammates (GET /v1/team) who look after it.
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    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.

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • idstringrequirednullable
    The resource id (null when a dry run creates something new).
  • writtenobjectrequired
    The fields written, snake_case; server timestamps as ISO 8601 UTC.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when an upstream refused the write; nothing changed (see error).
  • errorstringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Update a subnetwork

PATCH/v1/subnetworks/{subnetwork_id}

Rename a subnetwork or change its logo, handle or account managers. Only the fields you send change, and only on that subnetwork. account_manager_ids replaces the list ([] clears it); an empty logo clears the logo; a blank handle keeps the current one.

Shows are changed with PUT /v1/subnetworks/{subnetwork_id}/shows. The login email and stored password of an older subnetwork are never read or changed.

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

Path parameters

  • subnetwork_idstringrequired
    The subnetwork's id from GET /v1/subnetworks (e.g. subnetwork_1731400000000_ab12cd).

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
  • namestringnullable
    New name (120 characters).
  • logostringnullable
    New http(s) image URL; an empty string clears it.
  • handlestringnullable
    New slug; a blank one keeps the current handle.
  • account_manager_idsarray of stringsnullable
    The whole new list of account managers (owner or accepted teammates); [] clears it.
  • 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 a subnetwork

DELETE/v1/subnetworks/{subnetwork_id}

Delete a subnetwork from the network. There is no undo; its shows stay in the network. Needs ?confirm=true.

Only the network's entry is removed: when the subnetwork has its own login, that account keeps working and keeps its shows (warnings says so), and invites still waiting for it stop working.

  • 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.

Path parameters

  • subnetwork_idstringrequired
    The subnetwork's id from GET /v1/subnetworks (e.g. subnetwork_1731400000000_ab12cd).

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

Add or remove a subnetwork's shows

PUT/v1/subnetworks/{subnetwork_id}/shows

Add shows to a subnetwork, remove shows from it, or set its exact list. Send add and / or remove, or show_ids for the whole list. The response's details has the resulting show_ids, added and removed.

The change is applied to the shows the subnetwork has now. For a subnetwork with its own login that is its own account's list, which is updated in the same transaction. Removing any show needs "confirm": true; adding never does. The shows themselves stay in the network. Ids that are not shows of this network are left out and named in warnings.

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

Path parameters

  • subnetwork_idstringrequired
    The subnetwork's id from GET /v1/subnetworks (e.g. subnetwork_1731400000000_ab12cd).

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
  • addarray of stringsnullable
    Show ids to add (shows of this network, from GET /v1/shows).
  • removearray of stringsnullable
    Show ids to take out of the subnetwork.
  • show_idsarray of stringsnullable
    Instead of add / remove: the exact list the subnetwork should hold; shows not in it are removed.
  • 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

Build public and app URLs

GET/v1/urls

Build the public share URL and in-app URL for a network, show, cluster, campaign, brand, report, chart or links page. id is the entity id (cluster id, campaign id, brand slug, report id, chart id); show_id is required for show, cluster and links pages. The entity is not checked for existence.

SDKlistener.urls.retrieve()client.urls.retrieve()

Query parameters

  • entitystringrequired
    One ofnetworkshowclustercampaignbrandreportchartlink
  • idstringnullable
  • show_idstringnullable
    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

  • entitystringrequired
    One ofnetworkshowclustercampaignbrandreportchartlink
  • objectstringrequired
  • idstringnullable
  • show_idstringnullable
  • public_urlstring (uri)nullable
  • app_urlstring (uri)nullable
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Update the network's public profile

PATCH/v1/network

Update the network's public profile shown on https://network.listener.com/{handle}: name, owner, website, contact email, about, focus, categories (up to 5), founded year, layout, the AI / reach-stats toggles, the logo (network_logo, an image URL) and the brand colours (primary_color, secondary_color, accent_color, text_color, background_color, each a #hex) and the page template (page_template). Only the fields you send change. "apply_to_shows": true then carries the saved template, logo and colours to every show's public page in the same request (details.shows), as POST /v1/network/branding/apply does; when that replaces a look a show already has it needs "confirm": true, and nothing is saved until then.

Changing handle (^[a-z0-9-]+$) needs "confirm": true; the old public URL stops resolving. Privacy, custom domain and sponsors are never touched. Solo workspaces have no network profile (400).

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

SDKlistener.network.update()client.network.update()

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
  • network_namestringnullable
  • network_ownerstringnullable
  • network_websitestringnullable
  • contact_emailstring (email)nullable
  • aboutstringnullable
  • main_focusstringnullable
  • categoriesarray of stringsnullable
    Only shows whose categories contain one of these (case-insensitive substring).
  • founded_yearstringnullable
  • podcast_display_layoutstringnullable
    One ofgridlist
  • show_aibooleannullable
  • show_reach_statsbooleannullable
  • network_logostringnullable
  • primary_colorstringnullable
  • secondary_colorstringnullable
  • accent_colorstringnullable
  • text_colorstringnullable
  • background_colorstringnullable
  • page_templatestringnullable
    One ofcurrentprestigepremieresleevesignalmosaicposterdossierbooth
  • apply_to_showsboolean

    Default false

  • handlestringnullable
    Public URL handle (lowercase, hyphens).
  • 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

Set the network's default EMV rates

PUT/v1/network/default-emv

Set the network-wide default EMV rates inherited by every cluster and campaign without its own override. CPMs are dollars per 1,000 impressions; like and comment rates are dollars each; every value must be a finite number ≥ 0. Needs "confirm": true because it changes EMV figures across the whole workspace.

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

SDKlistener.network.setDefaultEmv()client.network.set_default_emv()

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
  • long_form_cpmnumberrequired
  • short_form_cpmnumberrequired
  • like_ratenumberrequired
  • comment_ratenumberrequired
  • 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 platform integrations

GET/v1/integrations

One row per show × platform (the 18 platforms of the Integrations page): connection state (connected, pending, disconnected), last update, staleness, how it can be refreshed (server, manual_request, none), whether a refresh needs confirm, and the last stored error. Facebook rows add data_source (meta, sproutsocial, scraper), connection_mode (Facebook (Meta sign-in) when the Page is connected with Facebook sign-in) and needs_reconnect.

platform accepts aliases; stale_only=true keeps rows older than 36 h. For the per-show rollup with cluster freshness and pending data requests use GET /v1/integrations/status.

SDKlistener.integrations.list()client.integrations.list()

Query parameters

  • show_idsarray of stringsnullable
    Limit to these show ids (default: every show in the workspace). Repeat the parameter or comma-separate values.
  • platformstringnullable
    A platform key (e.g. youtube, spotify, apple_podcasts, instagram).
  • statestring
    One ofallconnectedpendingdisconnected

    Default "all"

  • stale_onlyboolean

    Default false

  • 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

Retrieve data freshness and refresh status

GET/v1/integrations/status

Per show: the newest platform update, stale platforms grouped by how they can be refreshed, cluster refresh freshness (last run, failed nodes), pending Spotify / Apple data requests and the last cluster update stats. Check it before POST /v1/shows/{show_id}/platforms/{platform}/refresh, POST /v1/data-requests or a cluster refresh. include_cluster_freshness=false makes it cheaper.

SDKlistener.integrations.status()client.integrations.status()

Query parameters

  • show_idsarray of stringsnullable
    Limit to these show ids (default: every show in the workspace). Repeat the parameter or comma-separate values.
  • include_cluster_freshnessboolean

    Default true

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

  • showsarray of objectsrequired
    Show child attributesHide child attributes
  • show_idsarray of stringsrequired
  • computed_atstring (date-time)required
  • objectstringrequired
  • stale_platformsarray of strings
    Platforms stale on at least one show.
  • freshnessmap of object
    platform → oldest freshness across the scoped shows.
    Show child attributesHide child attributes
  • pending_request_countinteger

    Default 0

  • shows_with_stale_clustersinteger

    Default 0

  • missing_show_idsarray of strings
  • cache_age_secondsnumber

    Default 0

  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error