Skip to main content
POST
Favorite content

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, or an opaque member token. The credential alone identifies the member and company.

Body

application/json
kind
enum<string>
required

Target kind.

Available options:
media,
playlist,
product,
enrollment_pack,
page
id
string<uuid>
required

Public id of the target.

position
integer

Place in the member's list.

Required range: 1 <= x <= 2147483647

Response

The created favorite.

One favorite.

status
integer
required

HTTP response status.

data
object
required

One favorite.

meta
object
required

Envelope metadata present on every response.