Refresh
Metered actions: platform refreshes and Spotify / Apple data requests.
Refresh a show's platform data
/v1/shows/{show_id}/platforms/{platform}/refreshRefresh one platform's data for one show now and return the status (updated, skipped, requested, error), last update before and after, and the provider-call estimate. Metered scraper platforms (tiktok, twitter, facebook, instagram, threads, linkedin) spend credits and need "confirm": true, except a Facebook Page connected with Facebook sign-in, which refreshes from Meta's API without credits; spotify is asynchronous (requested); applePodcasts cannot be refreshed on demand (use POST /v1/data-requests).
- Send
"dry_run": trueto get{"object": "dry_run", "would_write": …}without writing anything. - Requires
"confirm": true; without it the API answers 409confirmation_requiredwith the exactpreview.
SDKlistener.shows.platforms.refresh()client.shows.platforms.refresh()
Path parameters
- A show id in this workspace (see GET /v1/shows).
show_idstringrequired - A platform key (e.g. youtube, spotify, apple_podcasts, instagram).
platformstringrequiredOne ofyoutubeinstagraminstagram_businesstiktoktwitterfacebookfacebook_businessthreadslinkedinbeehiivsubstackkit_newslettersimplecasttransistorart19captivateomnystudiospotifyapple_podcastsbuzzsproutpodigeepodbeanspreaker
Headers
- Run this request inside one of the network's own subnetworks: its id, handle or name, as
X-Listener-WorkspacestringGET /v1/subnetworksreturns 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/mesays which one the request ran in (note). Omit the header, or sendnetwork, for the whole network. A value that is not one of this network's subnetworks answers 400parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is noworkspacequery parameter on/v1. Webhook endpoints, events and connections always belong to the credential's own workspace. - Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.
Idempotency-Keystring
Request body
application/json- true returns exactly what would be written without writing anything (the API's test mode).
dry_runbooleanDefault
false - Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.
confirmbooleanDefault
false
Returns
200OK
One of:
WriteResult
DryRun
Errors
400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error
File a Spotify / Apple data request
/v1/data-requestsFile a Spotify or Apple Podcasts data request with the Listener operations team and return the request written (status pending). Needs "confirm": true because it creates work for a person. show_url defaults to the URL stored on the show; a request already pending for the same show and platform is refused. Follow it in GET /v1/integrations/status.
- Send
"dry_run": trueto get{"object": "dry_run", "would_write": …}without writing anything. - Requires
"confirm": true; without it the API answers 409confirmation_requiredwith the exactpreview.
SDKlistener.dataRequests.create()client.data_requests.create()
Headers
- Run this request inside one of the network's own subnetworks: its id, handle or name, as
X-Listener-WorkspacestringGET /v1/subnetworksreturns 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/mesays which one the request ran in (note). Omit the header, or sendnetwork, for the whole network. A value that is not one of this network's subnetworks answers 400parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is noworkspacequery parameter on/v1. Webhook endpoints, events and connections always belong to the credential's own workspace. - Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.
Idempotency-Keystring
Request body
application/json- A show id in this workspace (see GET /v1/shows).
show_idstringrequired - Platform key (e.g. youtube, spotify, apple_podcasts, instagram).
platformstringrequiredOne ofspotifyapple_podcasts show_urlstring (uri)- true returns exactly what would be written without writing anything (the API's test mode).
dry_runbooleanDefault
false - Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.
confirmbooleanDefault
false
Returns
200OK
One of:
WriteResult
DryRun
Errors
400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error