Connect with an API key

Zapier

  • Developers

About Zapier

Zapier connects apps with automated workflows called Zaps. When something happens in one app, a Zap does something in another.

How it works with Sonely

  • You connect Zapier with an API key from your studio's settings.
  • To start a Zap from Sonely, send a webhook to the address of a Zapier step that catches webhooks (Webhooks by Zapier) and choose the events.
  • To change Sonely from a Zap, call the Sonely API from a Zapier step that sends web requests, with your key in the Authorization header.
  • Events you can start Zaps from: a student is added, a student's profile or status changes, attendance is taken, a student is added to an event, a payment is recorded, an invoice is created, a lesson is booked online or a booking is cancelled.
  • A read-only key can read students, events, attendance, payments and invoices. A read-and-write key can also add and update students and add payments.
  • Revoke a key and it stops at once.

Set it up

  1. As the studio owner, open Business settings, then Integrations.
  2. Under API keys, choose Add API key. Name it after what will use it, like Zapier, and choose read only or read and write.
  3. Copy the key straight away. It's shown once.
  4. In your Zap, send the key with each call to Sonely, as Authorization: Bearer followed by the key.
  5. To start Zaps from Sonely, copy your Zapier step's webhook address. Under Webhooks, choose Add endpoint, paste it and pick the events.

What it doesn't do

  • Sonely isn't listed in Zapier's app directory, so there are no ready-made Sonely steps to pick. You connect with an API key and webhooks.
  • Only the studio owner can create API keys and webhooks.
  • Webhooks are turned off in the demo studio. They work in your own studio.

Works with these Sonely features:

This integration is built by Sonely. If you have questions about how it works, contact our support team.