# Prolaud API (/api/v1): contacts, tags, workflows and events with an API key

> A small, stable API for automation tools and your own code. Everything happens in the academy the key belongs to. Included from the Studio plan.

Last updated 2026-11-24 · Source: https://prolaud.com/help/prolaud-api

## Authentication

Create a key in Integrations → Zapier (or Make, Pabbly) and send it on every request as Authorization: Bearer tbc_… (an X-API-Key header works too). The base address is https://api.prolaud.com/api/v1. A wrong or revoked key gets 401; a plan below Studio gets 402. Up to 300 requests a minute per key.

```bash
curl https://api.prolaud.com/api/v1/me \
  -H "Authorization: Bearer tbc_YOUR_KEY"
```

## Contacts and tags

A contact is found by contact_id, else email, else phone, and added when new. Tags are lowercased. A new tag starts any workflow waiting for it; a removed tag can stop one.

```bash
# Add or update a contact
curl -X POST https://api.prolaud.com/api/v1/contacts \
  -H "Authorization: Bearer tbc_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"email":"asha@example.com","phone":"+91 90000 00013","name":"Asha Devi","tags":["lead"],"fields":{"city":"Pune"}}'

# Add and remove tags
curl -X POST https://api.prolaud.com/api/v1/contacts/tags \
  -H "Authorization: Bearer tbc_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"email":"ravi@example.com","add":["call-booked"],"remove":["call-not-booked"]}'

# Set custom fields (use them in messages as {{contact.callTime}})
curl -X POST https://api.prolaud.com/api/v1/contacts/fields \
  -H "Authorization: Bearer tbc_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"email":"ravi@example.com","fields":{"callTime":"2026-11-25T10:00:00Z"}}'
```

## Workflows

```bash
# Your workflows (id, name, on/off)
curl https://api.prolaud.com/api/v1/workflows -H "Authorization: Bearer tbc_YOUR_KEY"

# Start one for a contact (it must be switched on)
curl -X POST https://api.prolaud.com/api/v1/workflows/12/start \
  -H "Authorization: Bearer tbc_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"email":"ravi@example.com","fields":{"meetingUrl":"https://zoom.us/j/1"}}'
```

## Lists for dropdowns

GET /tags, /workflows, /products and /event-types return short lists for a tool's dropdowns.

## Events: instant webhooks or polling

Events: payment.received, payment.refunded, product.bought, contact.created, tag.added, tag.removed, form.received, booking.created, booking.rescheduled, booking.cancelled, member.added, class.scheduled, class.ended.

```bash
# Subscribe an address to an event (Zapier does this for you)
curl -X POST https://api.prolaud.com/api/v1/hooks \
  -H "Authorization: Bearer tbc_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"target_url":"https://example.com/hook","event":"booking.created"}'
# → {"id": 41, "events": ["booking.created"], "secret": "whsec_…"}

# Unsubscribe
curl -X DELETE https://api.prolaud.com/api/v1/hooks/41 -H "Authorization: Bearer tbc_YOUR_KEY"

# Or poll the latest events (kept 7 days)
curl "https://api.prolaud.com/api/v1/events?type=payment.received&limit=10" -H "Authorization: Bearer tbc_YOUR_KEY"
```

Each delivery is a POST of {"id", "type", "created_at", "data": {event, contact, name, first_name, email, phone, tag, product_id, details}} with the header X-Prolaud-Signature: t=<unix time>,v1=<hex>, where v1 is HMAC-SHA256 of "<t>.<raw body>" with the subscription's secret. Answer with any 2xx; anything else is retried after 1 min, 5 min, 30 min, 2 h, 6 h and 24 h, and an address that fails seven times in a row is switched off.

## Errors

Errors look like {"error": {"code": "contact_not_found", "message": "…"}} — show the message to whoever set the tool up. Codes include unauthorized (401), plan_required (402), contact_required / tags_required / fields_required / bad_event / bad_url (400), contact_not_found / workflow_not_found / hook_not_found (404), workflow_off (409) and rate_limited (429).

## Related

- [Connect Zapier (both directions)](https://prolaud.com/help/connect-zapier)
- [Connect Make](https://prolaud.com/help/connect-make)
- [Connect Pabbly Connect](https://prolaud.com/help/connect-pabbly)
