Skip to main content
Listening insights answer three questions about people who connected Spotify through a campaign or soundlink. Pick the insight that matches the question. The response window is the one stored on the listening graph. Do not send startDate or endDate. These calls often take 30–50 seconds. Set the client timeout to at least 120 seconds. The Send button on the API reference stops around 30 seconds. The API keeps running and can still return 200. If the gateway deadline elapses, the response is 504. That body is the gateway error, not the { data, meta } envelope. A context row is left out when both listeners and streams are 0.

Campaign

Requires metrics:read.
A campaign outside the organization returns 404 campaign_not_found. An owned campaign that is not in the listening graph returns 404 not_in_listening_graph. Requires soundlinks:read.
A soundlink created for a campaign is allowed on this path when your organization owns it, even though list and detail hide campaign soundlinks. An unknown soundlink returns 404 not_found. An owned soundlink that is not in the listening graph returns 404 not_in_listening_graph.

Next

Campaign metrics · Soundlink metrics · API Reference