Create a self-serve soundlink
Creates a self-serve soundlink in the organization. This is the Public
API equivalent of the in-app create flow. It does not create a wallet
campaign and does not appear on GET /v1/campaigns.
Requires the soundlinks:write scope and a self-serve plan on the
organization; otherwise returns 403 soundlink_plan_required.
streamValueEventEnabled: true turns on Soundlink Stream Value for
that soundlink. The organization must already be enabled for it, or
the request returns 403 stream_value_not_enabled. It cannot be
combined with attributionEnabled: false. Events are sent only when
the soundlink has a Meta pixel and conversion access token.
Idempotency-Key is required. Reusing the key with an unchanged
body replays the original 201; a different body returns
409 idempotency_key_conflict. Keys are honored for 24 hours.
Auth: Accepts API key or OAuth Bearer (soundlinks:write).
Authorizations
Headers
A unique string identifying this request, used to safely retry write
operations (campaign create/stop/budget, soundlink create) without repeating
side effects. Required on every request that references this parameter.
Reusing this key with an unchanged request body replays the original
response; reusing it with a different body returns
409 idempotency_key_conflict. Keys are honored for 24 hours.
1 - 255Body
HTTPS Spotify track or playlist URL. Album, artist, and URI
(spotify:track:...) forms are rejected. An optional intl-xx
path segment is accepted. Query strings are stripped before
lookup. The resource must currently exist on Spotify.
"https://open.spotify.com/track/11dFghVXANMlKmJXsNCbNl"
Optional HTTPS Apple Music URL. Accepted shapes: a song
(/song/{slug}/{id}), a catalog playlist (pl.), a library
playlist (pl.u-), or an album share-sheet link with ?i={songId}
(stored as the canonical song URL). Host must be music.apple.com
with a two-letter storefront. Songs and catalog playlists are
verified in that storefront; missing content returns
400 invalid_request.
Provider outages or rate limits warn and allow create. Library
playlists are format-checked only. Omit to leave Apple Music unset.
"https://music.apple.com/us/song/anti-hero/1645937493"
Optional HTTPS YouTube Music URL. Accepted shapes: a song
(music.youtube.com/watch?v=…, youtube.com/watch?v=…, or
youtu.be/…) or a playlist (…/playlist?list=…). Shorts,
live, channel, and browse links are rejected. A video or
playlist that does not exist on YouTube returns
400 invalid_request. Quota, auth, or upstream failures warn and
allow create. Omit to leave YouTube Music unset.
"https://music.youtube.com/watch?v=dQw4w9WgXcQ"
When true, Soundlink sends a Meta conversion event named
"Soundlink Stream Value" for attributed streams on this soundlink.
Requires the organization to be enabled for Soundlink Stream Value,
otherwise the request returns 403 stream_value_not_enabled.
Cannot be combined with attributionEnabled: false. Omit or send
false to leave it off. Can only be set at creation. Events are
sent only when the soundlink has a Meta pixel and conversion
access token.