Skip to content
TNScanner edited this page Mar 12, 2025 · 1 revision

API

There is two API endpoints available you can use to upload your audio files to Rdio Scanner.

Endpoint: /api/call-upload

This API is used by the downstream feature to received audio files from other Rdio Scanner instances.

However, this API can be used for purposes other than downstream, as long as the API key gives access to the systems/talkgroups on which you wish to upload the audio file.

$ curl https://other-rdio-scanner.example.com/api/call-upload \
    -F "audio=@/recordings/audio.wav"             \
    -F "audioName=audio.wav"                      \
    -F "audioType=audio/x-wav"                    \
    -F "dateTime=1970-01-01T00:00:00.000Z"        \
    -F "frequencies=[]"                           \
    -F "frequency=774031250"                      \
    -F "key=d2079382-07df-4aa9-8940-8fb9e4ef5f2e" \
    -F "patches=[]"                               \
    -F "source=4424000"                           \
    -F "sources=[]"                               \
    -F "system=11"                                \
    -F "systemLabel=RSP25MTL"                     \
    -F "talkgroup=54241"                          \
    -F "talkgroupGroup=Fire"                      \
    -F "talkgroupLabel=TDB A1"                    \
    -F "talkgroupTag=Fire dispatch"
Call imported successfully

Clone this wiki locally