Private beta

PromoLinks API

Create a PromoLink from a streaming URL with a single request. This API is for internal and partner use. Depending on your key, a request creates either a shareable demo page on demo.promolinks.me (with a built-in path for the artist to claim a full account), or, for a label key, a real published PromoLink on one of your roster artists.

Base URL

https://promolinks.me

Authentication

Every request must include your API key as a Bearer token. Keys start with pml_live_ and are issued from the PromoLinks admin panel. Keep your key secret: it is shown only once at creation and grants page-creation access.

Authorization: Bearer pml_live_xxxxxxxxxxxxxxxxxxxxxxxx

Two kinds of keys

A demo key creates shareable preview pages on demo.promolinks.me (the default, documented just below). A label keyis granted to one specific label and creates real, published PromoLinks on that label's roster artists, each at the artist's own subdomain. Label keys are issued by the PromoLinks team to approved labels only. Same authentication, same base URL: the key decides what gets created. The Label keys section below covers the differences.

Quickstart

The fastest way to see the API work: send a streaming URL with a demo key and get back a live page.

Request

curl -X POST https://promolinks.me/api/v1/promolinks \
  -H "Authorization: Bearer pml_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT" }'

Response (201)

{
  "slug": "rick-astley-never-gonna-give-you-up-demo",
  "url": "https://demo.promolinks.me/rick-astley-never-gonna-give-you-up-demo",
  "title": "Never Gonna Give You Up",
  "artist": "Rick Astley",
  "expires_at": "2026-07-09T12:00:00.000Z"
}

Full parameters, label-key behavior, and every other endpoint are below.

Endpoints

MethodPathPurpose
POST/api/v1/promolinksCreate a demo PromoLink from a streaming URL
POST/api/v1/promolinksCreate a real, published PromoLink (label keys)
GET/api/v1/artistsList a label's roster slugs (label keys)
GET/api/v1/promolinks/{slug}Read the status and stats for a page you created
POST/api/v1/promolinks

Resolves a streaming URL (Spotify, Apple Music, YouTube, and more) into a full PromoLink page with cover art, an audio preview, and every available platform link, then returns the public URL.

Body parameters

FieldTypeNotes
urlstring, requiredA Spotify, Apple Music, or YouTube link to the track or album.
subtitlestring, optionalA short tagline shown under the title.
discountobject, optionalClaim incentive shown on the page. Shape: { enabled, percent, code }. Defaults to 50% off if omitted.

Example request

curl -X POST https://promolinks.me/api/v1/promolinks \
  -H "Authorization: Bearer pml_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT",
    "subtitle": "Out now"
  }'

Example response (201)

{
  "slug": "rick-astley-never-gonna-give-you-up-demo",
  "url": "https://demo.promolinks.me/rick-astley-never-gonna-give-you-up-demo",
  "title": "Never Gonna Give You Up",
  "artist": "Rick Astley",
  "expires_at": "2026-07-09T12:00:00.000Z"
}
POST/api/v1/promolinks

Label keys: create real PromoLinks

When your key is granted to a label, the same POST /api/v1/promolinksendpoint creates a real, published PromoLink on one of your label's artists instead of a demo page. You name the artist by their slugin each request. The created link is published immediately and appears on that artist's page at https://{slug}.promolinks.me/{short_code}.

Additional body parameter

FieldTypeNotes
artiststring, requiredThe slug of the target artist. Must be on your label's roster. Use GET /api/v1/artists to list valid slugs. Unknown or off-roster slugs are rejected.
urlstring, requiredThe streaming link to resolve, same as the demo flow.

Example request

curl -X POST https://promolinks.me/api/v1/promolinks \
  -H "Authorization: Bearer pml_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "artist": "billie",
    "url": "https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT"
  }'

Example response (201)

{
  "short_code": "never-gonna-give-you-up",
  "url": "https://billie.promolinks.me/never-gonna-give-you-up",
  "title": "Never Gonna Give You Up",
  "artist": "Billie",
  "artist_slug": "billie",
  "artist_created": false,
  "published": true,
  "deduped": false
}

Idempotent by artist + track. If you send the same artist and track again (a retry or a re-run), the existing link is returned with "deduped": true and a 200 status, so no duplicate is created.

Auto-creating new artists (select keys only)

Some label keys are also permitted to create a brand-new artist page on demand, for artists that have never used PromoLinks before. This is off by default and granted per key. When enabled, omit artist and send artist_name instead (and ideally artist_ref): a new artist page is created on your label's roster and the PromoLink is published on it, same as the flow above.

FieldTypeNotes
artist_namestring, required**Required only when artistis omitted or doesn't match an existing roster slug, on a key with this capability enabled. The display name for the new artist page.
artist_refstring, optional but recommendedYour own stable ID for this artist. Lets a retried request reuse the same artist page instead of creating a duplicate. Without it, a case-insensitive exact match on artist_name is used as a best-effort fallback.

Example request

curl -X POST https://promolinks.me/api/v1/promolinks \
  -H "Authorization: Bearer pml_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "artist_name": "DJ Firewire",
    "artist_ref": "artlist-catalog-8821",
    "url": "https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT"
  }'

Example response (201)

{
  "short_code": "midnight-drive",
  "url": "https://dj-firewire.promolinks.me/midnight-drive",
  "title": "Midnight Drive",
  "artist": "DJ Firewire",
  "artist_slug": "dj-firewire",
  "artist_created": true,
  "published": true,
  "deduped": false
}
GET/api/v1/artists

Label keys only. Lists the artists on your label's roster with their slugs, so you can map your own catalog to PromoLinks before posting releases.

Example request

curl https://promolinks.me/api/v1/artists \
  -H "Authorization: Bearer pml_live_xxxxxxxxxxxx"

Example response (200)

{
  "artists": [
    { "artist_name": "Billie", "slug": "billie" },
    { "artist_name": "Mara", "slug": "mara-songs" }
  ]
}
GET/api/v1/promolinks/{slug}

Returns the current status and engagement stats for a page you created.

Example request

curl https://promolinks.me/api/v1/promolinks/rick-astley-never-gonna-give-you-up-demo \
  -H "Authorization: Bearer pml_live_xxxxxxxxxxxx"

Example response (200)

{
  "slug": "rick-astley-never-gonna-give-you-up-demo",
  "url": "https://demo.promolinks.me/rick-astley-never-gonna-give-you-up-demo",
  "title": "Never Gonna Give You Up",
  "artist": "Rick Astley",
  "cover_url": "https://...",
  "views": 12,
  "cta_clicks": 3,
  "claimed": false,
  "claimed_at": null,
  "expires_at": "2026-07-09T12:00:00.000Z",
  "expired": false,
  "created_at": "2026-06-25T12:00:00.000Z"
}
POST/api/v1/subscribers

Website signups

Send signups from your own website straight into your PromoLinks subscribers. Create a website key in your dashboard under Subscribers, Connect my website. Website keys start with pml_web_, work for Pro, Manager and Label accounts, and can only add subscribers to the list they belong to. Call this endpoint from your server, never from code that runs in the visitor's browser.

Body parameters

FieldTypeNotes
emailstring, requiredThe fan's email address.
namestring, optionalUp to 100 characters.
phonestring, optionalInclude the country code, for example +15551234567.
tagsstring[], optionalAdded on top of the tags set on the connection. Up to 20 tags, 50 characters each.
page_urlstring, optionalThe page where the fan signed up.
consent_textstring, optionalThe consent wording the fan agreed to, kept as a record.
subscribed_atISO date, optionalFor older signups you send later. Keeps the original join date and skips the new subscriber alert.

Example request

curl -X POST https://promolinks.me/api/v1/subscribers \
  -H "Authorization: Bearer pml_web_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "fan@example.com",
    "name": "Alex",
    "tags": ["newsletter"],
    "page_url": "https://yoursite.com/signup"
  }'

Example response (201)

{
  "ok": true,
  "status": "added"
}

Result status

StatusHTTPNotes
added201New subscriber, on the list now.
pending_confirmation201 / 200Confirmation is on: we emailed the fan a link. They join once they click it.
already_subscribed200Already on the list. New tags are added and a missing name or phone is filled in. Nothing is overwritten.
previously_unsubscribed200This person unsubscribed before. They are left unsubscribed on purpose.

Sending the same email twice is safe. Each website key accepts up to 120 requests a minute and 2,000 a day. Errors return { "ok": false, "error", "message" } with 400 invalid_email, 401 unauthorized, 403 plan_required, or 429 rate_limited / daily_cap_reached.

Rate limits and quotas

Each key has a per-minute rate limit (60 requests per minute by default) and an optional monthly quota. Responses include the headers below; a throttled request returns 429 with a Retry-After value in seconds. A separate per-IP ceiling protects the endpoint from floods; normal single-key traffic stays well under it.

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59

Errors

Errors return a JSON body of the form { "error": "code", "message": "..." }.

StatusCodeMeaning
401unauthorizedMissing or invalid API key.
400missing_url / missing_artist / missing_artist_name / invalid_bodyA required field is missing or malformed (url; artist or artist_name for label keys; artist_name specifically when auto-creating).
404not_found / unknown_artistNo page exists for that slug, or no artist matches the given slug (label keys without auto-create).
403artist_not_on_roster / roster_limit_reachedThe artist is not on this key's label roster, or (when auto-creating) the label's roster is already at its limit.
402label_inactiveThe label's account is not active.
429rate_limited / quota_exceededRate limit or monthly quota reached.
502create_failedThe URL could not be resolved to a valid track.

Good to know

  • Pages live for 14 days, then show an expired state. Read the status endpoint to check the expiry.
  • Every page includes a claim button that carries the track into PromoLinks sign-up, so the artist can turn the demo into a real account.
  • Slugs are generated from the artist and title and always live under the isolated demo namespace, so they never collide with real artist pages.
  • Unreleased tracks may resolve fewer platform links until the release goes live across stores.