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

Set In-Game Speaker Locations

Set in-game speaker locations for tone playback on a specific Sonoran Radio server.

Set In-Game Speaker Locations

PUT /v2/servers/:communityId/speakers

Rate limit: 2 requests per minute

Stores the in-game speaker list used by tone playback targets.

Headers

Name
Value

Authorization

Bearer <community-api-key>

Content-Type

application/json

Examples

local response = client.radio:setInGameSpeakerLocationsV2({
  {
    label = "Fire Station 123",
    id = "STATION_123"
  }
}, 1)
const response = await instance.radio?.setInGameSpeakerLocationsV2([
  {
    label: "Fire Station 123",
    id: "STATION_123"
  }
], 1);
response = instance.radio.setInGameSpeakerLocationsV2([
    {
        "label": "Fire Station 123",
        "id": "STATION_123",
    }
], 1)
var response = await sonoran.Radio.setInGameSpeakerLocationsV2(new object?[]
{
    new { label = "Fire Station 123", id = "STATION_123" }
});

Response

Successful requests return application/json.

{
  "locationsCount": 1
}

Last updated

Was this helpful?