Call a Particle device's exposed cloud function and read one of its cloud variables from a backend service

domain: docs.particle.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain an access_token for the Particle account (or a scoped device access token)
  2. Call a Particle.function() by POSTing to /v1/devices/{deviceId}/{functionName} with the argument in the request body and an Authorization: Bearer <access_token> header
  3. Read a Particle.variable() by GETing /v1/devices/{deviceId}/{variableName}, optionally with ?format=raw for the raw value
  4. Set up a Particle Integration (webhook) to forward Particle.publish() events to an external URL
  5. Confirm webhook delivery by watching for the device's hook-sent event in its event stream

Known gotchas

Related routes

Flash new firmware to a Particle device over-the-air via the Cloud API
iot · 5 steps · unrated
Publish and subscribe to device events using the Particle Device Cloud API and webhooks
docs.particle.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans