For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Server Subscription from IP

Return the highest Sonoran Radio subscription level associated with the caller IP.

Get Server Subscription from IP

GET /v2/server-subscriptions/by-ip

Rate limit: 2 requests per minute

Returns the highest matching subscription level for the caller IP.

This endpoint does not require bearer authentication.

Examples

local response = client.radio:getServerSubscriptionFromIpV2()
const response = await instance.radio?.getServerSubscriptionFromIpV2();
response = instance.radio.getServerSubscriptionFromIpV2()
var response = await sonoran.Radio.getServerSubscriptionFromIpV2();
openapi: 3.1.0
paths:
  /v2/server-subscriptions/by-ip:
    get: {}
curl -X GET "https://api.sonoranradio.com/v2/server-subscriptions/by-ip"

Response

Successful requests return application/json.

{
  "subscription": 2
}

Last updated

Was this helpful?