v1

latestOpenAPI 3.0.12026-08-0623870.1 KB
Content ID

Generate a single-use Content ID clearance code

Issues a one-time-use clearance code covering the whole Melodie library for a single YouTube video. The code is valid for 7 days from issuance and is consumed by the first video that uses it. Have the end user paste the code into the YouTube video description before publishing. Optionally attach a label — a note for your own reference, stored in Melodie only and never sent to the licensing provider.

post/api/v1/content_id/codes

Headers

Authorizationstring required

Your API token.

Request body

labelstring

Optional note for your own reference (e.g. which video the code is for). Stored and shown in Melodie only — never sent to the licensing provider.

Example request

{
  "label": "Spring campaign teaser"
}

Response

Clearance code issued

Example response

{
  "data": {
    "type": "content_id_code"
  }
}