API Endpoints
Learn more about our backend API endpoints!
Last updated
Learn more about our backend API endpoints!
Last updated
Production: https://api.sonoranradio.com
Development: https://radioapi.dev.sonoransoftware.com
POST
/radio/get-community-channels/:id/:key
This endpoint gets all connected users in a community.
Headers
Name | Value |
---|---|
Body
Name | Type | Description |
---|---|---|
Response
POST
/radio/get-connected-users/:id/:key
This endpoint gets all connected users in a community.
Headers
Body
Response
POST
/radio/set-server-ip
This endpoint sets the IP address of a Sonoran Radio community, used for resource authentication.
Headers
Body
Response
GET
/radio/check-server-subscription
This endpoint gets the subscription enumeration value of a Sonoran Radio community, based on the IP address it's called from. The IP address is set via the set server IP endpoint.
Headers
Response
POST
/radio/set-server-speakers
Sends a list of in-game speaker locations that the tone board can select.
When played, the play_tone push event will be sent to your server's pushUrl.
Headers
Body
Response
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Name | Value |
---|---|
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Content-Type
application/json
id
string
Community ID
key
string
Community API Key
Content-Type
application/json
id
string
Community ID
key
string
Community API Key
Content-Type
application/json
id
string
Community ID
key
string
Community API Key
pushUrl
string
Push Event URL
Content-Type
application/json
Content-Type
application/json
Authorization
Bearer <token>
id
string
Community ID
key
string
Community API Key
locations
array of Location
objects
In-Game Tone Locations