Native devices
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.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
nfcSuccess?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$nfcFail?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$pdfReceived?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$invoicePaid?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$updateComplete?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$appStartup?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$batteryLow?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$birthday?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$OK
application/json- response
nfcSuccess?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$nfcFail?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$pdfReceived?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$invoicePaid?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$updateComplete?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$appStartup?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$batteryLow?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$birthday?stringMatch
^\/api\/orgs\/[a-z0-9_-]{1,64}\/native-device-sounds\/[0-9a-f]{16}\.(mp3|wav|m4a|aac)$curl -X PUT 'https://api.tillor.eu/orgs/string/native-device-sounds' \ -H 'Content-Type: application/json' \ -d '{}'{ "nfcSuccess": "string", "nfcFail": "string", "pdfReceived": "string", "invoicePaid": "string", "updateComplete": "string", "appStartup": "string", "batteryLow": "string", "birthday": "string"}