Complete API reference for building Zapier integrations with Whappy AI. Configure webhooks, handle events, and manage data flow.
200 OK
: URL successfully configured304 Not Modified
: URL update failed400 Bad Request
: Invalid request data401 Unauthorized
: Missing or invalid API key500 Internal Server Error
: Server error200 OK
: URL successfully removed304 Not Modified
: URL removal failed401 Unauthorized
: Missing or invalid API key500 Internal Server Error
: Server error200 OK
: Connection successful401 Unauthorized
: Authentication failedevent_name
: Either appointment
or close
Field | Type | Required | Description |
---|---|---|---|
lead_id | string | Yes | Unique identifier for the lead |
created_at | string | Yes | ISO 8601 timestamp when the lead was created |
phone | string | Yes | Lead’s phone number with country code |
name | string | Yes | Lead’s full name |
lead_info_json | string | No | JSON string containing lead source and campaign information |
collected_info_json | string | No | JSON string with information collected during the conversation |
appointment | AppointmentPayload | No | Appointment details (only for appointment events) |
conversation_json | string | No | JSON string containing the full conversation history |
appointment_json | string | No | JSON string with detailed appointment information |
Field | Type | Required | Description |
---|---|---|---|
full_date | string | Yes | ISO 8601 timestamp of the scheduled appointment |
Code | Description | Action |
---|---|---|
200 | Success | Request completed successfully |
304 | Not Modified | Resource wasn’t modified (for updates) |
400 | Bad Request | Check request parameters and body format |
401 | Unauthorized | Verify your API key is correct |
500 | Internal Server Error | Contact support if persistent |
Invalid API Key
Invalid Webhook URL
Webhook URL Not Reachable