Docs
GraphQL referenceMutations

Create Audio Upload Url

MUTATIONcreateAudioUploadUrl(input: CreateAudioUploadUrlInput!): CreateAudioUploadUrlOutput!

Access: Requires the music_audio_assets:write permission. Requires one of: the music scheduling add-on, the cloud station add-on.

Arguments

input*

Returns

  1. createAudioUploadUrl
expiresAt*DateTime!

DateTime custom scalar type that expects an ISO 8601 string

storageRef*String!
uploadUrl*String!
Example Request
mutation CreateAudioUploadUrl($input: CreateAudioUploadUrlInput!) {  createAudioUploadUrl(input: $input) {    expiresAt    storageRef    uploadUrl  }}
Variables
{  "input": {    "contentHash": "string",    "sizeBytes": 10.5,    "trackId": "1"  }}
Example Response
{  "data": {    "createAudioUploadUrl": {      "expiresAt": "<DateTime>",      "storageRef": "string",      "uploadUrl": "string"    }  }}