GymMaintain
Contents · Webhooks

Webhooks

Outbound. Configure them under Settings → Webhooks (owner or manager with manage_settings), not through this API.

Verify the signature (example):

import hmac
sig = hmac.new(secret.encode(), request.body, 'sha256').hexdigest()
assert hmac.compare_digest(sig, request.headers['X-GymMaintain-Signature'])