Skip to main content

Overview

The Social API covers the platform’s social graph — following users and artists, reposting content, and managing the user’s personal library of liked tracks, albums, and artists.
Base URL: https://open.beatpass.ca/api/v1Authentication: Write operations require a valid Bearer token. Read operations on public profiles use optional auth.

User Following

Follow User

Unfollow User

Check Follow Status

Get User’s Followers

Get User’s Followed Users


Artist Following

Follow Artist

Unfollow Artist

Check Artist Follow Status

Get Artist’s Followers


Follow Limits

Max Following

5,000 users Maximum accounts a user can follow

Follow Rate

Rate limited Too many follows in quick succession triggers 429

Self-Follow

Not allowed Cannot follow your own account

Reposts

Toggle Repost

Toggle repost status for a track. If already reposted, it removes the repost.
integer
required
Track ID to repost or un-repost.

Get User’s Reposts

Repost Limits


User Library

Add to Library

Add a track to the authenticated user’s library (liked tracks).

Remove from Library

Remove a track from the user’s library.

Get Liked Tracks

Get Liked Albums

Get Liked Artists

Library Limits


Collections

Collections are curated groupings of content. All collection endpoints require authentication.

List Collections

User Collections

Collection Recommendations

Create Collection

Get Collection

Update Collection

Delete Collection

Play Collection


User Profile

Get User Profile

Retrieve a user’s public profile. Enhanced data returned when authenticated.

Update Profile

Update the authenticated user’s profile.

Get User’s Playlists

Get Upload Minutes Remaining

Check how many upload minutes a user has remaining on their current plan.
integer
required
User ID.
Response:
Returns null for minutesLeft if the user’s plan has no minute-based upload restriction.

Get Contact Info

Retrieve a user’s contact information. Rate limited to 30 requests per minute.

Search Users


Notification Preferences

Manage notification delivery channels for the authenticated user. Each notification type (for example new follower, comment reply, or analytics report) has independent channel toggles for email, in_app, and mobile.
Use me for the authenticated user route, or pass the authenticated user’s numeric ID. The backend resolves both forms.

Channel Keys

  • email — Email notifications
  • in_app — Notification center storage and live activity in open tabs
  • mobile — FCM-backed push delivery for registered devices, including supported browsers and mobile apps

Get Notification Subscriptions

Retrieve the authenticated user’s notification configuration, available channels, saved selections, and role-based context.
Response:

Update Notification Subscriptions

Update one or more notification channel preferences.
array
required
Array of notification preference updates.
string
required
Notification identifier to update, such as new_message.
object
required
Channel state object keyed by email, in_app, and/or mobile.
Response:
Use the exact backend channel keys in update payloads: email, in_app, and mobile. The legacy browser key is no longer part of the notification settings contract.

FCM Device Tokens

Register and manage Firebase Cloud Messaging device tokens for the authenticated user. The API stores tokens only; obtaining the token is the responsibility of the client app through the Firebase SDK.

Register or Refresh FCM Token

Store or refresh an FCM token for the authenticated user.
string
required
FCM registration token returned by the Firebase client SDK.
string
Device platform. Supported values: web, android, ios. Defaults to web.
string
Optional device label, typically the user agent or app/device name.
Response:
Tokens are upserted by token value. Re-registering the same token refreshes its metadata and ownership. These FCM token endpoints currently return { "status": "ok" }, while the notification subscription endpoints above use the standard { "status": "success" } response envelope.

Delete FCM Token

Remove an FCM token for the authenticated user, for example during logout.
string
required
FCM registration token to remove.
Response:
This endpoint currently expects the FCM token in a JSON request body. Some HTTP clients or intermediaries strip bodies from DELETE requests, so use a client path that preserves the JSON payload. Keeping the token out of the URL also avoids encoding and length issues with long FCM tokens.

Content API

Track, album, and artist management.

Error Catalog

Social and following error codes.
Last modified on April 3, 2026