Create a link that lets guests review the playlist without an account. The link can expire, forbid comments and require a password. Requires the manager role on the production.
POST
/data/playlists/{playlist_id}/share
curl \
--request POST 'http://api.example.com/data/playlists/a24a6ea4-ce75-4665-a070-57453082c250/share' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"expiration_date": "2026-12-31",
"can_comment": true,
"password": "string"
}'
Request examples
{
"expiration_date": "2026-12-31",
"can_comment": true,
"password": "string"
}
Response examples (201)
{
"id": "string",
"token": "string",
"playlist_id": "string",
"expiration_date": "2026-05-04T09:42:00Z",
"is_active": true,
"can_comment": true,
"has_password": true
}