Wine club API and webhooks
Build on your club data with organisation-scoped API keys and signed webhooks. Each key is shown once and can be revoked instantly.
No setup feesNothing charged until the 30-day trial ends
- 3 scopes
- Read, write and webhooks
- Shown once
- Keys can’t be viewed again
- Signed
- Every webhook delivery
- Instant revoke
- Revoked keys stop at once
What moves between your systems and OnCloudWine
Each row shows one kind of data and the direction it travels.
Read, write and webhook scopes. Revoked keys stop working at once.
Contact created, updated and deleted.
Every delivery is signed with a secret per subscription.
Sent when you save a subscription.
Connect your systems in 4 steps.
An Owner or Admin connects it once from Settings. After that it runs in the background.
- Step 1
Create a key
Settings › Developers.
- Step 2
Choose scopes
Read, write or webhooks.
- Step 3
Subscribe
HTTPS URL and events.
- Step 4
Verify
Check the signature on each delivery.
What you need
- An Admin or Owner role
- An HTTPS endpoint for webhooks
Settings › Developers
# Example: list your clubs curl https://app.oncloudwine.io/public/v1/clubs \ -H "X-API-Key: ock_••••••••••••"
Common questions
How do API keys work?
Create a key in Settings › Developers and choose its scopes: read, write or webhooks. The key is shown once, belongs to your organisation and stops working the moment you revoke it.
Which events can webhooks send?
Contact created, contact updated and contact deleted. Each delivery is signed with the secret for that subscription.
Is there a test delivery?
Yes. Saving a webhook subscription sends a test ping to your URL.