Create key

Add a new key to an existing arrangement. The key's name is computed from the start and end keys. Returns the id and name of the created key.

Required permission: Full Write Songs

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the song

int32
required
≥ 1

The id of the arrangement

Body Params

The details of the key

startKey
object | null
required

The key the arrangement starts in. Provide either id or code when writing. Values come from /api/property_values/song_keys/values.

startMode
object | null
required

Whether the starting key is major or minor. Provide either id or code (key_type_major or key_type_minor) when writing.

endKey
object | null

The key the arrangement ends in, when it differs from the starting key. Provide either id or code when writing. Values come from /api/property_values/song_keys/values.

endMode
object | null

Whether the ending key is major or minor. Provide either id or code (key_type_major or key_type_minor) when writing.

string | null

A description of the key (e.g. who it is sung by).

files
array of objects | null

Files and links attached to the key. Includes a generated chord chart entry when the arrangement has a chord chart. Writes replace the full list: files omitted from the list are removed. Do not send back the generated chord chart entry (the entry with a null id).

files
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json