Golioth · Example Payload

Golioth Invoke Rpc Example

IoTDevice ManagementFirmwareZephyrOTAEmbeddedConnectivity

Golioth Invoke Rpc Example is an example object payload from Golioth, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationapirequestresponse

Example Payload

Raw ↑
{
  "operation": "invokeRpc",
  "api": "Golioth Management API",
  "request": {
    "method": "POST",
    "url": "https://api.golioth.io/v1/projects/{projectId}/devices/{deviceId}/rpc",
    "headers": {
      "x-api-key": "gAPI_xxxxxxxxxxxxxxxxxxxxxxxx",
      "Content-Type": "application/json"
    },
    "body": {
      "method": "reboot",
      "params": ["graceful"],
      "timeout": 10000
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "data": {
        "deviceId": "642d8b1c8a5d9c0001abcd23",
        "method": "reboot",
        "statusCode": 0,
        "detail": "OK",
        "result": {
          "scheduled": "2026-05-25T16:15:00Z"
        }
      }
    }
  }
}