Create download codes
studio_codes_createCreate free download codes for one of the person's releases (published or scheduled), e.g. for cards at a concert or for the press. Each code unlocks the whole release or one track once, forever, in all formats, like a purchase at 0 EUR (no money, no fee, counts as given away). Returns the codes with their redeem links. Optional label only the artist sees and an expiry date. Limit per release. The codes are only created after the person confirms count and release in the browser (you get a confirmUrl to give them), afterwards studio_request_status returns them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"release": "<release>"
},
"name": "studio_codes_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of codes, default 1 | |
| label | No | Short label only the artist sees, e.g. "Concert Vienna" | |
| track | No | Track ID if the codes should unlock only this track, leave out for the whole release | |
| release | Yes | Release ID or URL | |
| expiresOn | No | Last valid day (YYYY-MM-DD, Vienna time), leave out for no expiry |