Overview
Subscribe to webhook events to receive instant notifications when clients are created in your workspace. This endpoint enables Zapier’s “New Client” trigger integration, automatically forwarding client data to your connected workflows.This endpoint is primarily designed for Zapier integrations but can be used with any webhook service that follows the same pattern.
Authentication
All requests require a valid API key in the Authorization header:Subscribe to Events
Request Body
The destination URL for webhook notifications. Must be a valid HTTPS URL format.Example:
https://hooks.zapier.com/hooks/catch/123456/abcdef/Array of event types to monitor. Currently supports:
CLIENT_CREATED- Triggered when a new client is added
["CLIENT_CREATED"]Optional description to identify this webhook in your dashboard.Example:
"Zapier integration for client notifications"Response
Success Response
Confirms successful webhook creation.
The created webhook subscription details.
Error Responses
400 Bad Request - Invalid URL
400 Bad Request - Invalid URL
400 Bad Request - Missing Fields
400 Bad Request - Missing Fields
url or events are missing from the request.401 Unauthorized
401 Unauthorized
500 Internal Server Error
500 Internal Server Error
Webhook Payload Structure
When a client is created, your webhook endpoint receives a POST request with this payload:Payload Fields
Unique client identifier
Client name or company name
Primary contact email address
Contact phone number
Full business address
Client status (
active, inactive, etc.)Client type (
company, individual, etc.)Associated workspace information
ISO 8601 timestamp of client creation
ISO 8601 timestamp of last update
Zapier Integration Guide
Setting Up the Trigger
- Automatic Setup: Zapier automatically calls this endpoint when you configure a “New Client” trigger
- Event Subscription: The integration subscribes to
CLIENT_CREATEDevents - Data Flow: New client data is instantly sent to your Zap workflow
Important Notes
Data Format: The webhook payload structure matches the standard client data format used across all client API endpoints, ensuring consistency in your integrations.
Best Practices:
- Validate webhook signatures if implementing custom security
- Implement proper error handling for webhook delivery failures
- Use HTTPS endpoints only for security
- Test your webhook endpoint before subscribing