Meta
API root, the OpenAPI document and the calling credential's workspace.
API root
/v1Version, links and the docs URL. No authentication.
Returns
200OK
objectanyrequirednamestringrequired- The latest API version (Listener-Version).
versionstringrequired - Every supported API version.
versionsarray of stringsrequired - The deployed build (git sha).
server_versionstring docs_urlstring (uri)openapi_urlstring (uri)linksmap of string (uri)
Errors
400parameter_invalid404resource_not_found429rate_limited500internal_error
OpenAPI document
/v1/openapi.jsonThis API as an OpenAPI 3.1 document. No authentication.
Returns
200OK
An OpenAPI 3.1 document.
Errors
400parameter_invalid404resource_not_found429rate_limited500internal_error
Retrieve the workspace and credential
/v1/meThe workspace this credential resolves to: identity, kind (network, subnetwork or solo), plan, every show (id, name, handle, public URL, categories, connected platforms), missing_show_ids (shows the workspace points at that no longer exist; excluded everywhere), team and subnetwork counts, integrations summary and per-platform data freshness, plus the calling credential (type, id, label, scopes, OAuth client).
Start here: the show ids every other endpoint accepts come from this response or GET /v1/shows. Solo workspaces return one show; subnetworks report parent_network_uid.
Sent with X-Listener-Workspace (a network credential naming one of its subnetworks), the response describes the request as it ran: shows and the counts cover that subnetwork only, and note names the subnetwork it worked in.
SDKlistener.me.retrieve()client.me.retrieve()
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.
Returns
200OK
objectstringrequired- The workspace id (the network, subnetwork or show account).
idstringrequired - network | subnetwork | solo (one show) | brand (an advertiser a publisher invited: no shows, read-only, sees shared campaigns).
kindstringrequiredOne ofnetworksubnetworksolobrand network_namestringrequiredplanstringrequiredshowsarray of objectsrequiredShow child attributesHide child attributes
show_countintegerrequiredteam_sizeintegerrequiredsubnetwork_countintegerrequiredcomputed_atstring (date-time)requiredcache_age_secondsnumberrequiredcredentialobjectrequiredShow child attributesHide child attributes
- 'brand' for a brand account; every network, subnetwork and show account is 'publisher'.
account_typestringOne ofpublisherbrandDefault
"publisher" network_handlestringnetwork_logostring- managedKits entries with no users/ doc; excluded from shows.
missing_show_idsarray of strings - Campaigns the workspace runs; for a brand account, the campaigns publishers shared with it.
campaign_countinteger - Brand accounts only: the publishers that shared campaigns with this brand.
publishersarray of objectsShow child attributesHide child attributes
- platform → number of shows with that platform connected or holding data.
integrations_summarymap of integer - platform → oldest freshness across shows.
data_freshnessmap of objectShow child attributesHide child attributes
stale_platformsarray of stringsnetwork_default_emvobjectpublic_urlstring (uri)app_urlstring (uri)notestringparent_network_idstring
Errors
400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error