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
Request
Path Parameters
checksum stringrequired
File checksum
Responses
- 200
- 400
- 401
- 404
- 429
Partner audio response
- application/json
- Schema
- Example (from schema)
- Example
Schema
audioUploadId uuidrequired
length doublerequired
expires date-timerequired
{
"audioUploadId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"length": 0,
"expires": "2024-07-29T15:51:28.071Z"
}
{
"audioUploadId": "b5992a5e-ac1c-4c2d-8442-3cd624064079",
"length": 10,
"expires": "2024-11-10T07:29:34.273396612Z"
}
Bad request.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error 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
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Invalid credentials"
}
Audio file was not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Audio was not found"
}
Rate limit exceeded.
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
message stringrequired
Human readable message
errors
object[]
key stringrequired
Error key
messages string[]required
Error messages
{
"message": "string",
"errors": [
{
"key": "string",
"messages": [
"string"
]
}
]
}
{
"message": "Rate limit exceeded"
}
Loading...