Private beta
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.
https://promolinks.meEvery 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_xxxxxxxxxxxxxxxxxxxxxxxxA 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.
The fastest way to see the API work: send a streaming URL with a demo key and get back a live page.
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" }'{
"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.
| Method | Path | Purpose |
|---|---|---|
| POST | /api/v1/promolinks | Create a demo PromoLink from a streaming URL |
| POST | /api/v1/promolinks | Create a real, published PromoLink (label keys) |
| GET | /api/v1/artists | List a label's roster slugs (label keys) |
| GET | /api/v1/promolinks/{slug} | Read the status and stats for a page you created |
/api/v1/promolinksResolves 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.
| Field | Type | Notes |
|---|---|---|
| url | string, required | A Spotify, Apple Music, or YouTube link to the track or album. |
| subtitle | string, optional | A short tagline shown under the title. |
| discount | object, optional | Claim incentive shown on the page. Shape: { enabled, percent, code }. Defaults to 50% off if omitted. |
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"
}'{
"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"
}/api/v1/promolinksWhen 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}.
| Field | Type | Notes |
|---|---|---|
| artist | string, required | The 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. |
| url | string, required | The streaming link to resolve, same as the demo flow. |
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"
}'{
"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.
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.
| Field | Type | Notes |
|---|---|---|
| artist_name | string, 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_ref | string, optional but recommended | Your 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. |
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"
}'{
"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
}/api/v1/artistsLabel 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.
curl https://promolinks.me/api/v1/artists \
-H "Authorization: Bearer pml_live_xxxxxxxxxxxx"{
"artists": [
{ "artist_name": "Billie", "slug": "billie" },
{ "artist_name": "Mara", "slug": "mara-songs" }
]
}/api/v1/promolinks/{slug}Returns the current status and engagement stats for a page you created.
curl https://promolinks.me/api/v1/promolinks/rick-astley-never-gonna-give-you-up-demo \
-H "Authorization: Bearer pml_live_xxxxxxxxxxxx"{
"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"
}/api/v1/subscribersSend 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.
| Field | Type | Notes |
|---|---|---|
| string, required | The fan's email address. | |
| name | string, optional | Up to 100 characters. |
| phone | string, optional | Include the country code, for example +15551234567. |
| tags | string[], optional | Added on top of the tags set on the connection. Up to 20 tags, 50 characters each. |
| page_url | string, optional | The page where the fan signed up. |
| consent_text | string, optional | The consent wording the fan agreed to, kept as a record. |
| subscribed_at | ISO date, optional | For older signups you send later. Keeps the original join date and skips the new subscriber alert. |
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"
}'{
"ok": true,
"status": "added"
}| Status | HTTP | Notes |
|---|---|---|
| added | 201 | New subscriber, on the list now. |
| pending_confirmation | 201 / 200 | Confirmation is on: we emailed the fan a link. They join once they click it. |
| already_subscribed | 200 | Already on the list. New tags are added and a missing name or phone is filled in. Nothing is overwritten. |
| previously_unsubscribed | 200 | This 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.
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: 59Errors return a JSON body of the form { "error": "code", "message": "..." }.
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized | Missing or invalid API key. |
| 400 | missing_url / missing_artist / missing_artist_name / invalid_body | A required field is missing or malformed (url; artist or artist_name for label keys; artist_name specifically when auto-creating). |
| 404 | not_found / unknown_artist | No page exists for that slug, or no artist matches the given slug (label keys without auto-create). |
| 403 | artist_not_on_roster / roster_limit_reached | The artist is not on this key's label roster, or (when auto-creating) the label's roster is already at its limit. |
| 402 | label_inactive | The label's account is not active. |
| 429 | rate_limited / quota_exceeded | Rate limit or monthly quota reached. |
| 502 | create_failed | The URL could not be resolved to a valid track. |