Authorizations
Enter your ContactSwing JWT Bearer token.
Request Body
Action display name. Example: My Real-time Booking Action
Action purpose. Example: Trigger this action if user wants to book a slot.
When to trigger: "DURING" | "AFTER" | "BEFORE"
Action type: "APPOINTMENT"
Array of webhook configurations []
Webhook Object
Google Calendar email for booking
"google" calendar integration
Require booking confirmation
IANA timezone. Example: "Africa/Algiers"
Buffer minutes between bookings
webhook[].booking_timings
Weekly availability schedule
Response
201 Created - Action created successfully
400 Bad Request - Invalid webhook array or missing required fields
401 Unauthorized - Invalid token