Spring releases: charge every club member in one batch.See how →
Integration · Sales, email and shipping

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

{ }Your systems
OnCloudWine
API keysContact eventsSignaturesTest pings
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 syncs

What moves between your systems and OnCloudWine

Each row shows one kind of data and the direction it travels.

API keys

Read, write and webhook scopes. Revoked keys stop working at once.

Contact events

Contact created, updated and deleted.

Signatures

Every delivery is signed with a secret per subscription.

Test pings

Sent when you save a subscription.

Setup

Connect your systems in 4 steps.

An Owner or Admin connects it once from Settings. After that it runs in the background.

  1. Step 1

    Create a key

    Settings › Developers.

  2. Step 2

    Choose scopes

    Read, write or webhooks.

  3. Step 3

    Subscribe

    HTTPS URL and events.

  4. Step 4

    Verify

    Check the signature on each delivery.

Before you connect

What you need

  • An Admin or Owner role
  • An HTTPS endpoint for webhooks
Where to find it

Settings › Developers

# Example: list your clubs
curl https://app.oncloudwine.io/public/v1/clubs \
  -H "X-API-Key: ock_••••••••••••"
FAQ

Common questions

All 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.