Native devices
Upload a replacement sound
Zugriff
Mitglied der Organisation mit dieser Berechtigung:
native-devices:write
Ein API-Schlüssel mit Scopes braucht die Berechtigung auch in seinen Scopes.
POST
Stores an MP3, WAV, M4A or AAC (at most 8 MB) and returns the public path to use as an organization or device sound.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
- body
file*string|string|string|string|string|string|string|string|string|stringOK
application/json- response
url*stringcurl -X POST 'https://api.tillor.eu/orgs//native-device-sounds/upload' \ -H 'Content-Type: application/json' \ -d '{ "file": "string"}'Example Response
{ "url": "string"}Replace organization sounds PUT
Sets the sounds every device plays instead of the built-in ones, and pushes them. A key left out keeps the Tillor sound. A device can still override a key.
Play a replacement sound GET
The uploaded clip for this organization. The name is a content hash, so a cached copy never has to be revalidated.