Skip to main content
POST
/
profile
/
playback
TypeScript
import { DiscovrClient } from "discovr";
import type { AddPlaybackPayload, SuccessMessage } from "discovr";

const discovr = new DiscovrClient("your-client-id", {
  basePath: "https://api.discovr.media",
});

// After sign-in and profile selection …
const response: SuccessMessage = await discovr.addPlaybackItem("MV_550", { progress: 25.5, updatedAt: "2023-01-15T00:00:00.000Z" });
console.log(response);
{
  "message": "Item added to playback list successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.discovr.media/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication.

  • Identity-tier endpoints (/profiles, /auth/session-token, /auth/session) accept a long-lived refresh token (rt_<hex>).
  • Session-tier endpoints (/pages/*, /profile/*) accept a short-lived session JWT.

SDK clients use two typed API accessors (identityApi() with the refresh token vs sessionApi() with the session JWT) — see the SDK DiscovrAuth helper.

Format: Authorization: Bearer {token}

Body

application/json

Playback progress to record. progress is 0–100. updatedAt is an ISO timestamp from the client — use the actual time of the progress update.

mediaId
string
required

Full media ID — MV_<tmdbId> for movies, TV_<tmdbId> for TV shows (e.g., MV_550)

Example:

"MV_550"

progress
number

Initial playback progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

25.5

updatedAt
string<date-time>

ISO 8601 timestamp for when playback was last updated

Example:

"2023-01-15T00:00:00.000Z"

Response

Item added successfully

Confirmation response with the action taken. For exclusive lists (liked/disliked/super_liked), also includes added (which list the item was added to) and optionally removed (which list it was removed from).

message
string
required

Success message

Example:

"Item added successfully"

added
string

The list type the item was added to (for exclusive lists)

Example:

"liked"

removed
string | null

The list type the item was removed from, if any (for exclusive lists)

Example:

"disliked"