Authentication
Learn how to authenticate requests against the Sonoran Radio v2 API.
Base URL
https://api.sonoranradio.comRequired Headers
Header
Value
Description
Routing
/v2/servers/{communityId}/...Example Request
local Sonoran = require("sonoran")
local client = Sonoran.createClient({
product = Sonoran.productEnums.RADIO,
communityId = "YOUR_COMMUNITY_ID",
apiKey = "YOUR_API_KEY",
roomId = 1
})
local response = client.radio:getConnectedUsersV2()
print(response.success)const Sonoran = require('@sonoransoftware/sonoran.js');
(async () => {
const instance = new Sonoran.Instance({
communityId: 'YOUR_COMMUNITY_ID',
apiKey: 'YOUR_API_KEY',
product: Sonoran.productEnums.RADIO,
roomId: 1,
});
const response = await instance.radio?.getConnectedUsersV2();
console.log(response);
})();Response Formats
Successful Requests
Failed Requests
Common Authentication Errors
Status
Cause
Rate Limits
Last updated
Was this helpful?

