Veralux API reference

Read farm records with a scoped API key and subscribe to signed events.

OpenAPI JSON

Before you start

Example request

Send the key as an Authorization bearer token and a JSON object as the request body. The farm owner creates keys in Settings.

curl -X POST 'https://os.veraluxfarms.com/api/v1/operations/farm.list_blocks' \
  -H 'Authorization: Bearer $VERALUX_API_KEY' \
  -H 'Content-Type: application/json' \
  --data '{}'

Available operations

Signed webhooks

Verify the base64 HMAC-SHA256 of webhook-id.webhook-timestamp.raw-body with the base64-decoded secret after removing whsec_. The signature header is v1,<base64>. Reject stale timestamps and deduplicate by event ID. Deliveries can be repeated or arrive out of order. Return a 2xx status to acknowledge.