Skip to main content
POST
/
api
/
v1
/
workspaces
/
{id}
/
location
Operator location heartbeat
curl --request POST \
  --url https://api.luxxon.dev/api/v1/api/v1/workspaces/{id}/location \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "message": "Request successful",
  "data": {
    "id": "8c3a5b6f-1d2e-4f7a-9b8c-d1e2f3a4b5c6",
    "slug": "acme",
    "name": "Acme Visuals",
    "walletAddress": "0xAbC0000000000000000000000000000000000001",
    "roles": [
      "CONSUMER"
    ],
    "availabilityState": "OFFLINE",
    "coverageLat": 4.711,
    "coverageLng": -74.07,
    "coverageRadiusMeters": 500,
    "deviceKind": "PHONE",
    "lastSeenAt": null,
    "createdAt": "2026-05-13T11:30:00.000Z",
    "createdByWallet": "0xAbC0000000000000000000000000000000000001",
    "deletedAt": null
  },
  "timestamp": "2026-05-13T12:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"8c3a5b6f-1d2e-4f7a-9b8c-d1e2f3a4b5c6"

Response

Request successful

statusCode
number
required
Example:

200

message
string
required
Example:

"Request successful"

data
object
required

Endpoint-specific payload. See the per-endpoint schema.

timestamp
string
required
Example:

"2026-05-13T12:00:00.000Z"