Get audio by checksum
GET /v0/uploads/audio/:checksum
Will return the audio id of an audio file uploaded by the partner, matched by checksum. Should be used to avoid duplicate uploads
Path Parameters
- checksum string required
File checksum
Responses
- 200
- 400
- 401
- 404
- 429
Partner audio response
- application/json
- Schema
- Example (from schema)
- Example
Schema
- audioUploadId uuid required
- length double required
- expires date-time required
{
"audioUploadId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"length": 0,
"expires": "2024-06-18T13:32:58.483Z"
}
{
"audioUploadId": "0f7aa56f-d598-4575-aeb5-21ab4d40cb7d",
"length": 10,
"expires": "2024-07-17T23:22:48.069849894Z"
}
Bad request.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError messages
]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Bad request"
}
Unauthorized. Most likely your access token has expired.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError messages
]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Invalid credentials"
}
Audio file was not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError messages
]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Audio was not found"
}
Rate limit exceeded.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- message string required
Human readable message
errors object[]
Array [key string requiredError key
messages string[] requiredError messages
]
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Rate limit exceeded"
}
Loading...