How to use webhooks and the API

Tell other apps when a gig is booked or an invoice is paid, read your gigs, acts, clients and invoices with an API key, and add inquiries.

Up to date as of GigTools version 2.1.195

Watch: Connecting QuickBooks, Eventbrite, Zapier and the API · about 3 min · how-to 31 of 15Open on YouTubeWhole series

Connect GigTools to the rest of your tools. It's on the Agency plan, under Settings › Connections & automations › Other apps (owners and admins).

Webhooks

A webhook sends a message to another app's address the moment something happens here.

  1. Open Webhooks and Zapier, click Edit, then Add a webhook.
  2. Paste the address (it must start with https://), give it a name, and pick the events, or leave All events.
  3. Click Add webhook and copy the signing secret that shows. It's shown once; click New signing secret later if you lose it.

Events: gig added, booked, completed or canceled; inquiry received; deal memo accepted; agreement signed; invoice sent or paid; payment received; settlement signed by both sides.

Each message is a JSON POST with id, type, created_at and data (the gig, invoice, payment and so on). It's signed: the GigTools-Signature header is t=<time>,v1=<signature>, where the signature is an HMAC-SHA256 of <time>.<body> using your secret. If the address doesn't answer with a 2xx, it's tried again for up to a day. Each webhook's last result shows on the card; in Edit, click a webhook to change it or Send a test.

Zapier, Make and others

For Zapier, use the GigTools app in Zapier with a Zapier key. Its Zaps add their own webhooks to your list (marked Zapier) and remove them when you turn the Zap off.

With Make, n8n or another tool, use its webhook trigger: copy its address into Add a webhook.

The API

Read your data from https://app.gigtools.net/api/v1/ with the header Authorization: Bearer <your key>:

  • GET me: which organization the key belongs to.
  • GET gigs (filters: step, from, to, since, limit) and GET gigs/<id>.
  • GET acts, GET clients, GET invoices (filter status) and GET invoices/<id>.
  • GET events (filters type, after): what happened, newest first.
  • POST inquiries: add a booking request or question to Inquiries. JSON with email and first_name/last_name (or name); optional phone, organization, job_title, event_date (YYYY-MM-DD), event_time, event_type, venue, city, state, audience, budget, message, act_id, kind (booking or question).

Keys can read and add inquiries; they can't change or delete anything. Up to 120 calls a minute per key. Click Revoke to stop a key working right away.

Still stuck, or did something not work the way this says?Contact support