Update Unit Location
The unit location update call allows you to update a unit's location from in-game.
Unit Location
Request Body
Name
Type
Description
UNIT LOCATION UPDATEDINVALID REQUEST TYPE
INVALID COMMUNITY ID
API IS NOT ENABLED FOR THIS COMMUNITY
INVALID API KEY{
"id": "YOUR_COMMUNITY_ID",
"key": "YOUR_API_KEY",
"type": "UNIT_LOCATION",
"data": [
{
"apiId": "STEAM:1234", // API ID entered in the unit identifiers
// Typically, this is their STEAM ID
"location": "1234 W. Example St.",
"coordinates": { // X/Y coordinates for live map (floats)
"x": 1000,
"y": 2000,
}
},
{
"apiId": "STEAM:5678",
"location": "5678 E. Test Ave.",
"coordinates": {
"x": 1000,
"y": 2000,
}
}
]
}API ID
Integration API IDRate Limiting
Last updated
Was this helpful?

