{"components":{"responses":{},"schemas":{"User":{"description":"A SavvyCal user","example":{"avatar_url":"https://example.com/avatar.jpg","display_name":"John Doe","email":"john@example.com","first_day_of_week":1,"first_name":"John","id":"user_01J5KC6T9PKRFGT8V2WD9Y8H6X","last_name":"Doe","plan":"premium","time_format":"12hr","time_zone":"America/New_York"},"properties":{"avatar_url":{"description":"URL to user's avatar image","format":"uri","nullable":true,"type":"string"},"display_name":{"description":"User's display name","type":"string"},"email":{"description":"User's email address","format":"email","type":"string"},"first_day_of_week":{"description":"First day of week (0=Sunday, 1=Monday, etc.)","maximum":6,"minimum":0,"type":"integer"},"first_name":{"description":"User's first name","type":"string"},"id":{"description":"Unique user identifier","type":"string"},"last_name":{"description":"User's last name","type":"string"},"plan":{"description":"User's subscription plan","enum":["free","basic","premium"],"type":"string"},"time_format":{"description":"User's preferred time format","enum":["12hr","24hr"],"type":"string"},"time_zone":{"description":"User's time zone","type":"string"}},"required":["id","email","first_name","last_name","display_name","time_zone","time_format","first_day_of_week","plan"],"title":"User","type":"object"},"EventListResponse":{"description":"Paginated list of events","example":{"entries":[{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"}],"metadata":{"after":"eyJpZCI6ImV2ZW50X2FiYzEyMyJ9","before":null,"limit":25}},"properties":{"entries":{"description":"Array of events","items":{"$ref":"#/components/schemas/Event"},"type":"array"},"metadata":{"$ref":"#/components/schemas/PaginationMeta"}},"required":["entries","metadata"],"title":"EventListResponse","type":"object"},"LinkListResponse":{"description":"Paginated list of scheduling links","example":{"entries":[{"default_duration":30,"description":"A brief meeting to discuss your needs","durations":[15,30,45],"fields":[{"id":"field_123","is_required":true,"label":"Company","type":"short_text"}],"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","increment":15,"name":"30 Minute Meeting","private_name":"Quick sync with prospects","scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"slug":"30min","state":"active"}],"metadata":{"after":"eyJpZCI6ImxpbmtfYWJjMTIzIn0","before":null,"limit":25}},"properties":{"entries":{"description":"Array of links","items":{"$ref":"#/components/schemas/Link"},"type":"array"},"metadata":{"$ref":"#/components/schemas/PaginationMeta"}},"required":["entries","metadata"],"title":"LinkListResponse","type":"object"},"SingleEventResponse":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"Single event response","example":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"title":"SingleEventResponse"},"CancelEventRequest":{"description":"Request body for canceling an event.","example":{"cancel_reason":"Schedule conflict"},"properties":{"cancel_reason":{"description":"The reason for canceling (optional).","nullable":true,"type":"string"}},"title":"CancelEventRequest","type":"object"},"Webhook":{"description":"Webhook configuration for receiving event notifications","example":{"created_at":"2024-01-15T10:30:00Z","id":"wh_01J5KC8V1MKRFGT8V2WD9Y8H6X","secret":"abc123","state":"active","url":"https://example.com/webhooks/savvycal","version":"2020-11-18"},"properties":{"created_at":{"description":"When the webhook was created","format":"date-time","type":"string"},"id":{"description":"Unique webhook identifier","type":"string"},"secret":{"description":"Webhook secret","type":"string"},"state":{"description":"Webhook state","enum":["active","disabled","deleted"],"type":"string"},"url":{"description":"Webhook endpoint URL","format":"uri","type":"string"},"version":{"description":"Webhook payload version","type":"string"}},"required":["id","state","url","secret","version","created_at"],"title":"Webhook","type":"object","x-tags":["Webhooks"]},"Workflow":{"description":"An automated workflow for event processing","example":{"created_at":"2024-01-15T10:30:00Z","id":"wkflw_01J5KCGG7RKRFGT8V2WD9Y8H6X","name":"Send confirmation email","state":"active"},"properties":{"created_at":{"description":"When the workflow was created","format":"date-time","type":"string"},"id":{"description":"Unique workflow identifier","type":"string"},"name":{"description":"Workflow name","type":"string"},"state":{"description":"Workflow state","enum":["active","disabled","draft"],"type":"string"}},"required":["id","name","state","created_at"],"title":"Workflow","type":"object","x-tags":["Workflows"]},"PollResponseCreatedWebhook":{"description":"Emitted when someone creates a new poll response.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"created_at":"2023-01-01T00:00:00Z","display_name":"John Doe","email":"john@example.com","first_name":"John","id":"pr_01J5KCDZ5PKRFGT8V2WD9Y8H6X","last_name":"Doe","phone_number":"+1234567890","poll":{"id":"poll_01J5KCBX3NKRFGT8V2WD9Y8H6X","name":"Meeting with John","slug":"meeting-with-john"},"slots":[{"end_at":"2023-01-01T01:00:00Z","start_at":"2023-01-01T00:00:00Z"}],"time_zone":"America/New_York"},"type":"poll.response.created","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/PollResponse"}],"description":"The poll response that was created","type":"object"},"type":{"enum":["poll.response.created"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"PollResponseCreatedWebhook","type":"object"},"EventDeclinedWebhook":{"description":"Emitted when an event scheduled (with approval required) is declined.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.declined","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was declined","type":"object"},"type":{"enum":["event.declined"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventDeclinedWebhook","type":"object"},"EventRequestedWebhook":{"description":"Emitted when someone requests a new event (with approval required).","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.requested","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was requested","type":"object"},"type":{"enum":["event.requested"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventRequestedWebhook","type":"object"},"EventAttendeeRescheduledWebhook":{"description":"Emitted when someone reschedules their attendance for an event.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"new_attendee":{"display_name":"John Daker","email":"jdaker@example.com","fields":[],"first_name":"John","id":"attendee_7RDQF0G5VT8PAV4ERN90B5Q27Y","is_organizer":false,"last_name":"Daker","marketing_opt_in":false,"phone_number":"+15555555555","response_status":"accepted","time_zone":"America/New_York"},"new_event":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"original_attendee":{"display_name":"John Daker","email":"jdaker@example.com","fields":[],"first_name":"John","id":"attendee_7RDQF0G5VT8PAV4ERN90B5Q27Y","is_organizer":false,"last_name":"Daker","marketing_opt_in":false,"phone_number":"+15555555555","response_status":"accepted","time_zone":"America/New_York"},"original_event":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"}},"type":"event.attendee.rescheduled","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"properties":{"new_attendee":{"allOf":[{"$ref":"#/components/schemas/EventAttendee"}],"description":"The new attendee who was added to the new event","type":"object"},"new_event":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The new event that was created","type":"object"},"original_attendee":{"allOf":[{"$ref":"#/components/schemas/EventAttendee"}],"description":"The original attendee who rescheduled their attendance","type":"object"},"original_event":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The original event that was rescheduled","type":"object"}},"required":["original_event","original_attendee","new_event","new_attendee"],"type":"object"},"type":{"enum":["event.attendee.rescheduled"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventAttendeeRescheduledWebhook","type":"object"},"CreateEventRequest":{"description":"Request body for creating an event.","example":{"display_name":"Jane Smith","email":"jane@example.com","end_at":"2024-01-20T14:30:00Z","fields":[{"id":"field_123","label":"Company","type":"text","value":"Example Corp"}],"metadata":{"project_type":"Web Application","source":"website"},"phone_number":"+15555555555","start_at":"2024-01-20T14:00:00Z","time_zone":"America/New_York"},"properties":{"display_name":{"description":"The scheduler's full name.","type":"string"},"email":{"description":"The scheduler's email address.","format":"email","type":"string"},"end_at":{"description":"The ISO-8601 timestamp when the event ends.","format":"date-time","type":"string"},"fields":{"description":"A list of custom fields.","items":{"properties":{"id":{"description":"The field ID.","type":"string"},"label":{"description":"The field label.","type":"string"},"type":{"description":"The field type.","type":"string"},"value":{"description":"The field value submitted by the attendee.","type":"string"}},"required":["id","type","label","value"],"type":"object"},"type":"array"},"metadata":{"additionalProperties":true,"description":"An object containing custom metadata attached to the event.","type":"object"},"phone_number":{"description":"The scheduler's phone number, formatted like `+15555555555` (optional unless \"Always gather phone number\" is enabled in the scheduling link settings).","nullable":true,"type":"string"},"start_at":{"description":"The ISO-8601 timestamp when the event starts.","format":"date-time","type":"string"},"time_zone":{"description":"The scheduler's local Olson time zone.","example":"America/New_York","type":"string"}},"required":["display_name","email","start_at","end_at","time_zone"],"title":"CreateEventRequest","type":"object"},"PaginationMeta":{"description":"Metadata for paginated responses","example":{"after":"eyJpZCI6ImxpbmtfYWJjMTIzIn0","before":null,"limit":25},"properties":{"after":{"description":"Cursor for next page","nullable":true,"type":"string"},"before":{"description":"Cursor for previous page","nullable":true,"type":"string"},"limit":{"description":"Number of items per page","type":"integer"}},"required":["limit"],"title":"PaginationMeta","type":"object"},"Error":{"description":"Standard error response","example":{"errors":{"email":[{"message":"can't be blank","validation":"required"}],"name":[{"count":2,"message":"should be at least 2 character(s)","validation":"length"}]}},"properties":{"errors":{"additionalProperties":{"items":{"properties":{"count":{"description":"Count (for certain validations)","type":"integer"},"message":{"description":"Error message","type":"string"},"validation":{"description":"Validation type","type":"string"}},"required":["message","validation"],"type":"object"},"type":"array"},"description":"Validation errors keyed by field name","type":"object"}},"required":["errors"],"title":"Error","type":"object"},"EventCheckoutExpiredWebhook":{"description":"Emitted when someone books a paid event, without paying and checkout expires.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.checkout.expired","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was booked, but not paid for","type":"object"},"type":{"enum":["event.checkout.expired"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventCheckoutExpiredWebhook","type":"object"},"UpdateLinkRequest":{"description":"Request body for updating a scheduling link.","example":{"description":"Updated meeting description","name":"Updated Meeting Name","private_name":"Internal updated name","type":"single"},"properties":{"description":{"description":"The short description visible on the scheduling link.","nullable":true,"type":"string"},"name":{"description":"The name of the scheduling link.","type":"string"},"private_name":{"description":"The private name of the link (not visible to schedulers).","nullable":true,"type":"string"},"type":{"default":"recurring","description":"Either `recurring` for Multi-Use links, or `single` for Single-Use links.","enum":["recurring","single"],"type":"string"}},"title":"UpdateLinkRequest","type":"object"},"EventCheckoutCompletedWebhook":{"description":"Emitted when someone books a paid event, after successful checkout.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.checkout.completed","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was booked and paid for","type":"object"},"type":{"enum":["event.checkout.completed"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventCheckoutCompletedWebhook","type":"object"},"SingleWebhookResponse":{"allOf":[{"$ref":"#/components/schemas/Webhook"}],"description":"Single webhook response","example":{"created_at":"2024-01-15T10:30:00Z","id":"wh_01J5KC8V1MKRFGT8V2WD9Y8H6X","secret":"abc123","state":"active","url":"https://example.com/webhooks/savvycal","version":"2020-11-18"},"title":"SingleWebhookResponse"},"EventChangedWebhook":{"description":"Emitted any time an event is updated, providing details about the change.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"event":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"previous_attributes":{"description":"Old Event Description","name":"Old Event Name"}},"type":"event.changed","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"properties":{"event":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was changed","type":"object"},"previous_attributes":{"description":"The previous attributes of the event","type":"object"}},"required":["event","previous_attributes"],"type":"object"},"type":{"enum":["event.changed"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventChangedWebhook","type":"object"},"EventAttendeeAddedWebhook":{"description":"Emitted when someone joins an event.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"attendee":{"display_name":"John Daker","email":"jdaker@example.com","fields":[],"first_name":"John","id":"attendee_7RDQF0G5VT8PAV4ERN90B5Q27Y","is_organizer":false,"last_name":"Daker","marketing_opt_in":false,"phone_number":"+15555555555","response_status":"accepted","time_zone":"America/New_York"},"event":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"}},"type":"event.attendee.added","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"properties":{"attendee":{"allOf":[{"$ref":"#/components/schemas/EventAttendee"}],"description":"The attendee who joined the event","type":"object"},"event":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was joined","type":"object"}},"required":["event","attendee"],"type":"object"},"type":{"enum":["event.attendee.added"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventAttendeeAddedWebhook","type":"object"},"EventRescheduledWebhook":{"description":"Emitted when an event is rescheduled.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.rescheduled","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was rescheduled","type":"object"},"type":{"enum":["event.rescheduled"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventRescheduledWebhook","type":"object"},"Payment":{"description":"A payment for an event","example":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"properties":{"amount_total":{"description":"Total amount charged (in cents)","nullable":true,"type":"integer"},"state":{"description":"Payment state","enum":["awaiting_checkout","paid"],"type":"string"},"url":{"description":"A link to the Stripe dashboard page for the payment (only available after checkout is completed)","format":"uri","nullable":true,"type":"string"}},"required":["state","url","amount_total"],"title":"Payment","type":"object","x-tags":["Events"]},"Link":{"description":"A scheduling link for booking appointments","example":{"default_duration":30,"description":"A brief meeting to discuss your needs","durations":[15,30,45],"fields":[{"id":"field_123","is_required":true,"label":"Company","type":"short_text"}],"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","increment":15,"name":"30 Minute Meeting","private_name":"Quick sync with prospects","scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"slug":"30min","state":"active"},"properties":{"default_duration":{"description":"Default meeting duration in minutes","type":"integer"},"description":{"description":"Link description","nullable":true,"type":"string"},"durations":{"description":"Available meeting durations in minutes","items":{"type":"integer"},"type":"array"},"fields":{"description":"Custom fields for this link","items":{"allOf":[{"$ref":"#/components/schemas/LinkField"}],"type":"object"},"type":"array"},"id":{"description":"Unique link identifier","type":"string"},"increment":{"description":"Time slot increment in minutes","type":"integer"},"name":{"description":"Public link name","type":"string"},"private_name":{"description":"Private link name (only visible to owner)","nullable":true,"type":"string"},"scope":{"allOf":[{"$ref":"#/components/schemas/ScopePreview"}],"description":"Associated scope/team (if any)","nullable":true,"type":"object"},"slug":{"description":"URL slug for the link","type":"string"},"state":{"description":"Link state","enum":["active","pending","disabled"],"type":"string"}},"required":["id","state","slug","name","durations","default_duration","increment","fields"],"title":"Link","type":"object","x-tags":["Scheduling Links"]},"TimeZoneListResponse":{"description":"List of time zones with localized information","example":[{"abbreviation":"CST","aliases":["US/Central"],"canonical":true,"dst":false,"formatted_offset":"-06:00","generic_long_name":"Central Time","golden":true,"id":"America/Chicago","legacy":false,"long_name":"Central Standard Time","metazone":{"exemplar_city":null,"long":{"current":"Central Standard Time","daylight":"Central Daylight Time","generic":"Central Time","standard":"Central Standard Time"},"name":"America_Central","short":{"current":"CST","daylight":"CDT","generic":"CT","standard":"CST"},"territories":["001"]},"offset":-21600,"offset_std":0,"offset_utc":-21600,"period":{"from":"2022-03-13T03:00:00-05:00","until":"2022-11-06T02:00:00-06:00"},"windows_zone":{"name":"Central Standard Time"}},{"abbreviation":"CST","aliases":["US/Central"],"canonical":true,"dst":false,"formatted_offset":"-06:00","generic_long_name":"Central Time","golden":true,"id":"America/Chicago","legacy":false,"long_name":"Central Standard Time","metazone":{"exemplar_city":null,"long":{"current":"Central Standard Time","daylight":"Central Daylight Time","generic":"Central Time","standard":"Central Standard Time"},"name":"America_Central","short":{"current":"CST","daylight":"CDT","generic":"CT","standard":"CST"},"territories":["001"]},"offset":-21600,"offset_std":0,"offset_utc":-21600,"period":{"from":"2022-03-13T03:00:00-05:00","until":"2022-11-06T02:00:00-06:00"},"windows_zone":{"name":"Central Standard Time"}}],"items":{"$ref":"#/components/schemas/TimeZone"},"title":"TimeZoneListResponse","type":"array"},"SingleLinkResponse":{"allOf":[{"$ref":"#/components/schemas/Link"}],"description":"Single scheduling link response","example":{"default_duration":30,"description":"A brief meeting to discuss your needs","durations":[15,30,45],"fields":[{"id":"field_123","is_required":true,"label":"Company","type":"short_text"}],"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","increment":15,"name":"30 Minute Meeting","private_name":"Quick sync with prospects","scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"slug":"30min","state":"active"},"title":"SingleLinkResponse"},"EventApprovedWebhook":{"description":"Emitted when an event scheduled (with approval required) is approved by the organizer.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.approved","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was approved","type":"object"},"type":{"enum":["event.approved"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventApprovedWebhook","type":"object"},"CreateWebhookRequest":{"description":"Request body for creating a webhook","example":{"url":"https://example.com/webhooks/savvycal"},"properties":{"url":{"description":"Webhook endpoint URL","format":"uri","type":"string"}},"required":["url"],"title":"CreateWebhookRequest","type":"object"},"WorkflowListResponse":{"description":"Paginated list of workflows","example":{"entries":[{"created_at":"2024-01-15T10:30:00Z","id":"wkflw_01J5KCGG7RKRFGT8V2WD9Y8H6X","name":"Send confirmation email","state":"active"},{"created_at":"2024-01-15T10:30:00Z","id":"wkflw_01J5KCGG7RKRFGT8V2WD9Y8H6X","name":"Send confirmation email","state":"active"}],"metadata":{"after":"eyJpZCI6IndvcmtmbG93X2FiYzEyMyJ9","before":null,"limit":25}},"properties":{"entries":{"description":"Array of workflows","items":{"$ref":"#/components/schemas/Workflow"},"type":"array"},"metadata":{"$ref":"#/components/schemas/PaginationMeta"}},"required":["entries","metadata"],"title":"WorkflowListResponse","type":"object"},"Event":{"description":"A scheduled event/booking","example":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"properties":{"canceled_at":{"description":"When the event was canceled","format":"date-time","nullable":true,"type":"string"},"rescheduled_at":{"description":"When the event was rescheduled","format":"date-time","nullable":true,"type":"string"},"location_settings":{"description":"Location settings","items":{"type":"object"},"nullable":true,"type":"array"},"description_settings":{"description":"Settings for description generation","properties":{"include_attendees":{"type":"boolean"},"include_fields":{"type":"boolean"},"include_link_name":{"type":"boolean"}},"required":["include_link_name","include_attendees","include_fields"],"type":"object"},"location":{"description":"Event location description","nullable":true,"type":"string"},"buffer_before":{"description":"Buffer time before event in minutes","type":"integer"},"additional_info":{"description":"Additional event information","nullable":true,"type":"string"},"duration":{"description":"Event duration in minutes","type":"integer"},"uuid":{"description":"UUID identifier for the event","format":"uuid","type":"string"},"reschedule_reason":{"description":"Reason for rescheduling","nullable":true,"type":"string"},"conferencing":{"description":"Video conferencing details","properties":{"instructions":{"description":"Join instructions","nullable":true,"type":"string"},"join_url":{"description":"Join URL","nullable":true,"type":"string"},"meeting_id":{"description":"Meeting ID","nullable":true,"type":"string"},"type":{"description":"Conferencing type","type":"string"}},"required":["type"],"type":"object"},"link":{"allOf":[{"$ref":"#/components/schemas/LinkPreview"}],"description":"Associated scheduling link (preview)","nullable":true,"type":"object"},"poll":{"description":"Associated poll (if any)","nullable":true,"type":"object"},"summary":{"description":"Event title/summary","type":"string"},"original_end_at":{"description":"Original end time (if rescheduled)","format":"date-time","nullable":true,"type":"string"},"description":{"description":"Event description","nullable":true,"type":"string"},"id":{"description":"Unique event identifier","type":"string"},"cancel_reason":{"description":"Reason for cancellation","nullable":true,"type":"string"},"organizer":{"allOf":[{"$ref":"#/components/schemas/EventAttendee"}],"description":"The organizer of the event","nullable":true,"type":"object"},"is_group_session":{"description":"Whether this is a group session","type":"boolean"},"original_start_at":{"description":"Original start time (if rescheduled)","format":"date-time","nullable":true,"type":"string"},"start_at":{"description":"Event start time","format":"date-time","type":"string"},"url":{"description":"Public URL for the event","format":"uri","type":"string"},"payment":{"allOf":[{"$ref":"#/components/schemas/Payment"}],"description":"Payment information (if applicable)","nullable":true,"type":"object"},"maximum_group_size":{"description":"Maximum number of attendees for group session","type":"integer"},"end_at":{"description":"Event end time","format":"date-time","type":"string"},"state":{"description":"Event state","enum":["confirmed","canceled","awaiting_reschedule","awaiting_checkout","checkout_expired","awaiting_approval","declined","tentative"],"type":"string"},"attendees":{"description":"All event attendees","items":{"allOf":[{"$ref":"#/components/schemas/EventAttendee"}],"type":"object"},"type":"array"},"scheduler":{"allOf":[{"$ref":"#/components/schemas/EventAttendee"}],"description":"The scheduler of the event","nullable":true,"type":"object"},"scope":{"allOf":[{"$ref":"#/components/schemas/ScopePreview"}],"description":"Associated scope/team","nullable":true,"type":"object"},"buffer_after":{"description":"Buffer time after event in minutes","type":"integer"},"metadata":{"description":"Additional event metadata","type":"object"},"created_at":{"description":"When the event was created","format":"date-time","type":"string"}},"required":["id","uuid","state","summary","description_settings","conferencing","created_at","start_at","end_at","duration","organizer","attendees","metadata","url","buffer_before","buffer_after","is_group_session","maximum_group_size"],"title":"Event","type":"object","x-tags":["Events"]},"LinkPreview":{"description":"Preview of a scheduling link","example":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"properties":{"id":{"description":"Link ID","type":"string"},"name":{"description":"Link name","type":"string"},"slug":{"description":"Link slug","type":"string"}},"required":["id","name","slug"],"title":"LinkPreview","type":"object"},"LinkSlotListResponse":{"description":"List of available time slots for a scheduling link","example":[{"duration":30,"end_at":"2024-01-20T14:30:00Z","rank":1,"start_at":"2024-01-20T14:00:00Z"},{"duration":30,"end_at":"2024-01-20T15:00:00Z","rank":1,"start_at":"2024-01-20T14:30:00Z"}],"items":{"$ref":"#/components/schemas/LinkSlot"},"title":"LinkSlotListResponse","type":"array"},"EventAttendee":{"description":"A person attending an event","example":{"display_name":"John Daker","email":"jdaker@example.com","fields":[],"first_name":"John","id":"attendee_7RDQF0G5VT8PAV4ERN90B5Q27Y","is_organizer":false,"last_name":"Daker","marketing_opt_in":false,"phone_number":"+15555555555","response_status":"accepted","time_zone":"America/New_York"},"properties":{"display_name":{"description":"Attendee display name","example":"John Daker","type":"string"},"email":{"description":"Attendee email address","example":"jdaker@example.com","type":"string"},"fields":{"description":"Attendee custom fields","items":{"type":"object"},"type":"array"},"first_name":{"description":"Attendee first name","example":"John","type":"string"},"id":{"description":"Unique attendee identifier","example":"attendee_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"is_organizer":{"description":"Is attendee organizer?","example":false,"type":"boolean"},"last_name":{"description":"Attendee last name","example":"Daker","type":"string"},"marketing_opt_in":{"description":"Has attendee opted in to marketing?","example":false,"type":"boolean"},"phone_number":{"description":"Attendee phone number","example":"+15555555555","nullable":true,"type":"string"},"response_status":{"description":"Attendee response status","example":"accepted","type":"string"},"time_zone":{"description":"Attendee time zone","example":"America/New_York","type":"string"}},"required":["id","email","display_name","first_name","last_name","time_zone","response_status","is_organizer","fields","marketing_opt_in"],"title":"EventAttendee","type":"object","x-tags":["Events"]},"EventCanceledWebhook":{"description":"Emitted when an event is canceled.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.canceled","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was canceled","type":"object"},"type":{"enum":["event.canceled"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventCanceledWebhook","type":"object"},"WebhookListResponse":{"description":"Paginated list of webhooks","example":{"entries":[{"created_at":"2024-01-15T10:30:00Z","id":"wh_01J5KC8V1MKRFGT8V2WD9Y8H6X","secret":"abc123","state":"active","url":"https://example.com/webhooks/savvycal","version":"2020-11-18"},{"created_at":"2024-01-15T10:30:00Z","id":"wh_01J5KC8V1MKRFGT8V2WD9Y8H6X","secret":"abc123","state":"active","url":"https://example.com/webhooks/savvycal","version":"2020-11-18"}],"metadata":{"after":"eyJpZCI6IndlYmhvb2tfYWJjMTIzIn0","before":null,"limit":25}},"properties":{"entries":{"description":"Array of webhooks","items":{"$ref":"#/components/schemas/Webhook"},"type":"array"},"metadata":{"$ref":"#/components/schemas/PaginationMeta"}},"required":["entries","metadata"],"title":"WebhookListResponse","type":"object"},"EmptyResponse":{"description":"Empty JSON response","example":{},"properties":{},"title":"EmptyResponse","type":"object"},"TimeZone":{"description":"Time zone information with localized names and DST details. This object includes a plethora of data information about a single IANA time zone definition.","example":{"abbreviation":"CST","aliases":["US/Central"],"canonical":true,"dst":false,"formatted_offset":"-06:00","generic_long_name":"Central Time","golden":true,"id":"America/Chicago","legacy":false,"long_name":"Central Standard Time","metazone":{"exemplar_city":null,"long":{"current":"Central Standard Time","daylight":"Central Daylight Time","generic":"Central Time","standard":"Central Standard Time"},"name":"America_Central","short":{"current":"CST","daylight":"CDT","generic":"CT","standard":"CST"},"territories":["001"]},"offset":-21600,"offset_std":0,"offset_utc":-21600,"period":{"from":"2022-03-13T03:00:00-05:00","until":"2022-11-06T02:00:00-06:00"},"windows_zone":{"name":"Central Standard Time"}},"properties":{"abbreviation":{"description":"Time zone abbreviation (e.g., 'CST', 'CDT').","type":"string"},"aliases":{"description":"An array of aliases (e.g. ['US/Central']).","items":{"type":"string"},"type":"array"},"canonical":{"description":"Whether this is the canonical time zone identifier in the IANA database.","type":"boolean"},"dst":{"description":"Whether daylight saving time is currently active.","type":"boolean"},"formatted_offset":{"description":"Human-readable offset (e.g., '-06:00').","type":"string"},"generic_long_name":{"description":"The generic name of the time zone's metazone (absent of any daylight saving time modifiers). For example, the generic name for US Central Time is Central Time, whereas the non-generic is either Central Daylight Time or Central Standard Time, depending on the time of year.","type":"string"},"golden":{"description":"Whether the time zone is considered a [golden zone](https://unicode.org/reports/tr35/tr35-dates.html#Using_Time_Zone_Names) in the CLDR database.","type":"boolean"},"id":{"description":"The identifier for the IANA Time Zone Database, also known as the Olson database (e.g. America/Chicago).","type":"string"},"legacy":{"description":"Whether the time zone is a \"legacy\" zone that does not conform to the standard Olson identifier format.","type":"boolean"},"long_name":{"description":"The most specific name for the time zone's metazone, which may include daylight saving time modifiers at the specified instant. For example, the long name for US Central Time is either \"Central Daylight Time\" or \"Central Standard Time\", depending on the time of year.","type":"string"},"metazone":{"description":"A metazone is a collection of time zones that share the same behavior and same name during some period. Each metazone represents a geographic region and is useful for determining commonly-used names for time zones.\n\nFor example, the metazone for U.S. Central Time is `America_Central` and has the following long and short identifiers defined in the Unicode CLDR repository:\n\n```javascript\n{\n  \"name\": \"America_Central\",\n  \"long\": {\n    \"current\": \"Central Standard Time\",\n    \"daylight\": \"Central Daylight Time\",\n    \"generic\": \"Central Time\",\n    \"standard\": \"Central Standard Time\"\n  },\n  \"short\": {\n    \"current\": \"CST\",\n    \"daylight\": \"CDT\",\n    \"generic\": \"CT\",\n    \"standard\": \"CST\"\n  },\n  \"territories\": [\"001\"]\n}\n```\n\nSome facts to note about metazones:\n\n- There are 126 metazones.\n- There are 93 metazones that map to a single time zone.\n- There are 34 metazones that map to multiple time zones. For example, the `America_Central` metazone includes 24 distinct time zones.\n- Every metazone has one [golden zone](https://unicode.org/reports/tr35/tr35-dates.html#Using_Time_Zone_Names), which \"exemplifies\" the metazone (and is tagged with territory `\"001\"`).\n- There are 64 canonical time zones not associated with a metazone.\n","nullable":true,"properties":{"exemplar_city":{"description":"The exemplar city designated for the metazone, if applicable (e.g. Chicago).","nullable":true,"type":"string"},"long":{"description":"A collection of generic and DST-specific \"long\" names (some or all might be `null`).","nullable":true,"properties":{"current":{"nullable":true,"type":"string"},"daylight":{"nullable":true,"type":"string"},"generic":{"nullable":true,"type":"string"},"standard":{"nullable":true,"type":"string"}},"type":"object"},"name":{"description":"The identifier for the metazone (e.g. America_Central).","type":"string"},"short":{"description":"A collection of generic and DST-specific \"short\" names (some or all might be `null`).","nullable":true,"properties":{"current":{"nullable":true,"type":"string"},"daylight":{"nullable":true,"type":"string"},"generic":{"nullable":true,"type":"string"},"standard":{"nullable":true,"type":"string"}},"type":"object"},"territories":{"description":"Territory codes that use this metazone.","items":{"type":"string"},"type":"array"}},"type":"object"},"offset":{"description":"The number of seconds offset from UTC at the specified instant. Note this may change depending on time of year, due to daylight saving time shifts.","type":"integer"},"offset_std":{"description":"The number of seconds offset from standard time (this will be zero when in standard time, and non-zero when in daylight saving time).","type":"integer"},"offset_utc":{"description":"The number of seconds offset from UTC (when in standard time).","type":"integer"},"period":{"description":"The boundaries of the current zone period (e.g. either standard time or daylight saving time).","properties":{"from":{"description":"When the current period started.","format":"date-time","nullable":true,"type":"string"},"until":{"description":"When the current period ends.","format":"date-time","nullable":true,"type":"string"}},"type":"object"},"windows_zone":{"description":"Windows zones are names derived from the Microsoft Windows time zone mapping file (see [windowsZones.xml](https://github.com/unicode-org/cldr/blob/4667907abd60081c29f0b110623efc4ec545d844/common/supplemental/windowsZones.xml) in the CLDR repository). We use the zone names from this file as a fallback for `long_name` and `generic_long_name` fields when there does not exist a metazone name.","nullable":true,"properties":{"name":{"description":"Windows time zone name","type":"string"}},"type":"object"}},"required":["abbreviation","aliases","canonical","dst","formatted_offset","generic_long_name","golden","id","legacy","long_name","offset","offset_utc","offset_std","period","windows_zone"],"title":"TimeZone","type":"object","x-tags":["Time Zones"]},"PollResponseUpdatedWebhook":{"description":"Emitted when someone updates a poll response.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"created_at":"2023-01-01T00:00:00Z","display_name":"John Doe","email":"john@example.com","first_name":"John","id":"pr_01J5KCDZ5PKRFGT8V2WD9Y8H6X","last_name":"Doe","phone_number":"+1234567890","poll":{"id":"poll_01J5KCBX3NKRFGT8V2WD9Y8H6X","name":"Meeting with John","slug":"meeting-with-john"},"slots":[{"end_at":"2023-01-01T01:00:00Z","start_at":"2023-01-01T00:00:00Z"}],"time_zone":"America/New_York"},"type":"poll.response.updated","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/PollResponse"}],"description":"The poll response that was updated","type":"object"},"type":{"enum":["poll.response.updated"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"PollResponseUpdatedWebhook","type":"object"},"EventCheckoutPendingWebhook":{"description":"Emitted when someone books a paid event, but is still pending checkout.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.checkout.pending","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that is pending checkout","type":"object"},"type":{"enum":["event.checkout.pending"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventCheckoutPendingWebhook","type":"object"},"PollResponse":{"description":"A poll response","example":{"created_at":"2023-01-01T00:00:00Z","display_name":"John Doe","email":"john@example.com","first_name":"John","id":"pr_01J5KCDZ5PKRFGT8V2WD9Y8H6X","last_name":"Doe","phone_number":"+1234567890","poll":{"id":"poll_01J5KCBX3NKRFGT8V2WD9Y8H6X","name":"Meeting with John","slug":"meeting-with-john"},"slots":[{"end_at":"2023-01-01T01:00:00Z","start_at":"2023-01-01T00:00:00Z"}],"time_zone":"America/New_York"},"properties":{"created_at":{"description":"Poll response creation time","format":"date_time","type":"string"},"display_name":{"description":"Respondent display name","type":"string"},"email":{"description":"Respondent email","format":"email","type":"string"},"first_name":{"description":"Respondent first name","type":"string"},"id":{"description":"Unique poll response identifier","type":"string"},"last_name":{"description":"Respondent last name","type":"string"},"phone_number":{"description":"Respondent phone number","type":"string"},"poll":{"allOf":[{"$ref":"#/components/schemas/PollPreview"}],"type":"object"},"slots":{"items":{"properties":{"end_at":{"description":"Slot end time","format":"date_time","type":"string"},"start_at":{"description":"Slot start time","format":"date_time","type":"string"}},"required":["start_at","end_at"],"type":"object"},"type":"array"},"time_zone":{"description":"Respondent time zone","type":"string"}},"required":["id","poll","email","display_name","first_name","last_name","time_zone","slots","created_at"],"title":"PollResponse","type":"object"},"LinkSlot":{"description":"An available time slot for scheduling on a link","example":{"duration":30,"end_at":"2024-01-20T14:30:00Z","rank":1,"start_at":"2024-01-20T14:00:00Z"},"properties":{"duration":{"description":"Duration of the slot in minutes","type":"integer"},"end_at":{"description":"When the slot ends","format":"date-time","type":"string"},"rank":{"description":"Ranking/priority of this slot","type":"integer"},"start_at":{"description":"When the slot starts","format":"date-time","type":"string"}},"required":["start_at","end_at","duration","rank"],"title":"LinkSlot","type":"object"},"WorkflowAction":{"description":"An action executed as part of a workflow rule","example":{"created_at":"2024-01-15T10:30:00Z","id":"waction_01J5KCMM1VKRFGT8V2WD9Y8H6X","properties":{"recipient":"attendee","subject":"Your meeting is confirmed","template":"confirmation"},"type":"send_custom_email"},"properties":{"created_at":{"description":"When the workflow action was created","format":"date-time","type":"string"},"id":{"description":"Unique workflow action identifier","type":"string"},"properties":{"additionalProperties":true,"description":"Action-specific configuration properties","type":"object"},"type":{"description":"Type of action to execute","enum":["send_custom_email","trigger_automation"],"type":"string"}},"required":["id","type","properties","created_at"],"title":"WorkflowAction","type":"object"},"ScopePreview":{"description":"Preview of a scope/team","example":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"properties":{"id":{"description":"Scope ID","type":"string"},"name":{"description":"Scope name","type":"string"},"slug":{"description":"Scope slug","type":"string"}},"required":["id","name","slug"],"title":"ScopePreview","type":"object"},"WorkflowActionTriggeredWebhook":{"description":"Emitted when a workflow action is triggered.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"action":{"created_at":"2024-01-15T10:30:00Z","id":"waction_01J5KCMM1VKRFGT8V2WD9Y8H6X","properties":{"recipient":"attendee","subject":"Your meeting is confirmed","template":"confirmation"},"type":"send_custom_email"},"event":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"rule":{"actions":[{"created_at":"2024-01-15T10:30:00Z","id":"waction_01J5KCMM1VKRFGT8V2WD9Y8H6X","properties":{"recipient":"attendee","template":"confirmation"},"type":"send_custom_email"}],"created_at":"2024-01-15T10:30:00Z","id":"wrule_01J5KCJJ9TKRFGT8V2WD9Y8H6X","trigger_offset_amount":10,"trigger_offset_direction":"after","trigger_offset_unit":"minutes","trigger_type":"event_created"},"workflow":{"created_at":"2024-01-15T10:30:00Z","id":"wkflw_01J5KCGG7RKRFGT8V2WD9Y8H6X","name":"Send confirmation email","state":"active"}},"type":"workflow.action.triggered","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"properties":{"action":{"allOf":[{"$ref":"#/components/schemas/WorkflowAction"}],"description":"The action that was triggered","type":"object"},"event":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that triggered the action","type":"object"},"rule":{"allOf":[{"$ref":"#/components/schemas/WorkflowRule"}],"description":"The rule that was triggered","type":"object"},"workflow":{"allOf":[{"$ref":"#/components/schemas/Workflow"}],"description":"The workflow that was triggered","type":"object"}},"required":["workflow","rule","action","event"],"type":"object"},"type":{"enum":["workflow.action.triggered"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"WorkflowActionTriggeredWebhook","type":"object"},"WorkflowRuleListResponse":{"description":"List of workflow rules for a specific workflow","example":[{"actions":[{"created_at":"2024-01-15T10:30:00Z","id":"waction_01J5KCMM1VKRFGT8V2WD9Y8H6X","properties":{"recipient":"attendee","template":"confirmation"},"type":"send_custom_email"}],"created_at":"2024-01-15T10:30:00Z","id":"wrule_01J5KCJJ9TKRFGT8V2WD9Y8H6X","trigger_offset_amount":10,"trigger_offset_direction":"after","trigger_offset_unit":"minutes","trigger_type":"event_created"},{"actions":[{"created_at":"2024-01-15T10:30:00Z","id":"waction_01J5KCMM1VKRFGT8V2WD9Y8H6X","properties":{"recipient":"attendee","template":"confirmation"},"type":"send_custom_email"}],"created_at":"2024-01-15T10:30:00Z","id":"wrule_01J5KCJJ9TKRFGT8V2WD9Y8H6X","trigger_offset_amount":10,"trigger_offset_direction":"after","trigger_offset_unit":"minutes","trigger_type":"event_created"}],"items":{"$ref":"#/components/schemas/WorkflowRule"},"title":"WorkflowRuleListResponse","type":"array"},"WorkflowRule":{"description":"A rule that triggers workflow actions based on events","example":{"actions":[{"created_at":"2024-01-15T10:30:00Z","id":"waction_01J5KCMM1VKRFGT8V2WD9Y8H6X","properties":{"recipient":"attendee","template":"confirmation"},"type":"send_custom_email"}],"created_at":"2024-01-15T10:30:00Z","id":"wrule_01J5KCJJ9TKRFGT8V2WD9Y8H6X","trigger_offset_amount":10,"trigger_offset_direction":"after","trigger_offset_unit":"minutes","trigger_type":"event_created"},"properties":{"actions":{"description":"Actions to execute when this rule is triggered","items":{"$ref":"#/components/schemas/WorkflowAction"},"type":"array"},"created_at":{"description":"When the workflow rule was created","format":"date-time","type":"string"},"id":{"description":"Unique workflow rule identifier","type":"string"},"trigger_offset_amount":{"description":"Amount of time offset for the trigger","type":"integer"},"trigger_offset_direction":{"description":"Direction of the trigger offset relative to the event","enum":["before","after"],"type":"string"},"trigger_offset_unit":{"description":"Unit of time for the trigger offset","enum":["minutes","hours","days"],"type":"string"},"trigger_type":{"description":"Type of event that triggers this rule","enum":["event_created","event_started","event_ended"],"type":"string"}},"required":["id","trigger_type","trigger_offset_amount","trigger_offset_unit","trigger_offset_direction","created_at","actions"],"title":"WorkflowRule","type":"object"},"SingleTimeZoneResponse":{"allOf":[{"$ref":"#/components/schemas/TimeZone"}],"description":"Single time zone response","example":{"abbreviation":"CST","aliases":["US/Central"],"canonical":true,"dst":false,"formatted_offset":"-06:00","generic_long_name":"Central Time","golden":true,"id":"America/Chicago","legacy":false,"long_name":"Central Standard Time","metazone":{"exemplar_city":null,"long":{"current":"Central Standard Time","daylight":"Central Daylight Time","generic":"Central Time","standard":"Central Standard Time"},"name":"America_Central","short":{"current":"CST","daylight":"CDT","generic":"CT","standard":"CST"},"territories":["001"]},"offset":-21600,"offset_std":0,"offset_utc":-21600,"period":{"from":"2022-03-13T03:00:00-05:00","until":"2022-11-06T02:00:00-06:00"},"windows_zone":{"name":"Central Standard Time"}},"title":"SingleTimeZoneResponse"},"LinkField":{"description":"A custom field for a scheduling link","example":{"id":"field_123","is_required":true,"label":"Company","type":"short_text"},"properties":{"id":{"description":"Field ID","type":"string"},"is_required":{"description":"Whether field is required","type":"boolean"},"label":{"description":"Field label","type":"string"},"type":{"description":"Field type","enum":["short_text","long_text","checkboxes","radios","select","url","hidden"],"type":"string"}},"required":["id","label","type","is_required"],"title":"LinkField","type":"object"},"EventAttendeeCanceledWebhook":{"description":"Emitted when someone cancels their attendance for an event.","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"attendee":{"display_name":"John Daker","email":"jdaker@example.com","fields":[],"first_name":"John","id":"attendee_7RDQF0G5VT8PAV4ERN90B5Q27Y","is_organizer":false,"last_name":"Daker","marketing_opt_in":false,"phone_number":"+15555555555","response_status":"accepted","time_zone":"America/New_York"},"event":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"}},"type":"event.attendee.canceled","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"properties":{"attendee":{"allOf":[{"$ref":"#/components/schemas/EventAttendee"}],"description":"The attendee who canceled their attendance","type":"object"},"event":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was joined","type":"object"}},"required":["event","attendee"],"type":"object"},"type":{"enum":["event.attendee.canceled"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventAttendeeCanceledWebhook","type":"object"},"CreateLinkRequest":{"description":"Request body for creating a scheduling link.","example":{"description":"A brief meeting to discuss your needs","name":"My New Link","private_name":"Internal meeting name","type":"recurring"},"properties":{"description":{"description":"The short description visible on the scheduling link.","nullable":true,"type":"string"},"name":{"description":"The name of the scheduling link.","type":"string"},"private_name":{"description":"The private name of the link (not visible to schedulers).","nullable":true,"type":"string"},"type":{"default":"recurring","description":"Either `recurring` for Multi-Use links, or `single` for Single-Use links.","enum":["recurring","single"],"type":"string"}},"required":["name"],"title":"CreateLinkRequest","type":"object"},"Poll":{"description":"A poll for booking appointments","example":{"description":"Let's find a time to meet!","duration":30,"id":"poll_01J5KCBX3NKRFGT8V2WD9Y8H6X","name":"Meeting with John","publicize_responses":true,"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"slots":[{"end_at":"2024-01-20T14:30:00Z","rank":1,"start_at":"2024-01-20T14:00:00Z","votes":1}],"slug":"meet","state":"published","url":"https://savvycal.com/p/john/meet"},"properties":{"description":{"description":"Poll description","nullable":true,"type":"string"},"duration":{"description":"Poll duration in minutes","type":"integer"},"id":{"description":"Unique poll identifier","type":"string"},"name":{"description":"Poll name","type":"string"},"publicize_responses":{"description":"Publicize responses?","type":"boolean"},"scope":{"allOf":[{"$ref":"#/components/schemas/ScopePreview"}],"description":"Associated scope/team","type":"object"},"slots":{"description":"Slots for this poll","items":{"properties":{"end_at":{"description":"Slot end time","format":"date-time","type":"string"},"rank":{"description":"Rank of this slot","type":"integer"},"start_at":{"description":"Slot start time","format":"date-time","type":"string"},"votes":{"description":"Number of votes for this slot","type":"integer"}},"required":["start_at","end_at","votes","rank"],"type":"object"},"type":"array"},"slug":{"description":"URL slug for the poll","type":"string"},"state":{"description":"Poll state","enum":["draft","published","complete","deleted"],"type":"string"},"url":{"description":"Poll URL","type":"string"}},"required":["id","state","slug","name","description","duration","url","publicize_responses","scope","slots"],"title":"Poll","type":"object"},"EventCreatedWebhook":{"description":"Emitted when someone schedules a new event (or when approval is granted by the organizer on a event that requires approval).","example":{"id":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","occurred_at":"2024-01-15T10:30:00Z","payload":{"canceled_at":null,"rescheduled_at":null,"location_settings":[{"integration_id":"zoom_123","type":"zoom"}],"description_settings":{"include_attendees":true,"include_fields":false,"include_link_name":true},"location":"Zoom meeting","buffer_before":15,"additional_info":"Please prepare project overview","duration":30,"uuid":"550e8400-e29b-41d4-a716-446655440000","reschedule_reason":null,"conferencing":{"instructions":"Click the link to join","join_url":"https://zoom.us/j/123456789","meeting_id":"123456789","type":"zoom"},"link":{"id":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","name":"30 Minute Meeting","slug":"30min"},"poll":null,"summary":"30 Minute Meeting with John Doe","original_end_at":null,"description":"Discussing project requirements","id":"event_01KKGY70MFPCECSQ6KM6FMDPC3","cancel_reason":null,"organizer":{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},"is_group_session":false,"original_start_at":null,"start_at":"2024-01-20T14:00:00Z","url":"https://savvycal.com/events/event_01KKGY70MFPCECSQ6KM6FMDPC3","payment":{"amount_total":1000,"state":"paid","url":"https://dashboard.stripe.com/acct_XYZ/payments/xxxxxxxxx"},"maximum_group_size":1,"end_at":"2024-01-20T14:30:00Z","state":"confirmed","attendees":[{"display_name":"John Doe","email":"john@example.com","fields":[],"first_name":"John","id":"attendee_01J5KCPP3XKRFGT8V2WD9Y8H6X","is_organizer":true,"last_name":"Doe","marketing_opt_in":false,"phone_number":null,"response_status":"accepted","time_zone":"America/New_York"},{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"}],"scheduler":{"display_name":"Jane Smith","email":"jane@example.com","fields":[],"first_name":"Jane","id":"attendee_01J5KCRR5ZKRFGT8V2WD9Y8H6X","is_organizer":false,"last_name":"Smith","marketing_opt_in":true,"phone_number":"+1234567890","response_status":"accepted","time_zone":"America/New_York"},"scope":{"id":"scope_01J5KC4R7NHQFGT8V2WD9Y8H6X","name":"Sales Team","slug":"sales"},"buffer_after":0,"metadata":{},"created_at":"2024-01-15T10:30:00Z"},"type":"event.created","version":"2024-01-15"},"properties":{"id":{"example":"payload_7RDQF0G5VT8PAV4ERN90B5Q27Y","type":"string"},"occurred_at":{"description":"When the action occurred","example":"2024-01-15T10:30:00Z","format":"date-time","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Event"}],"description":"The event that was created","type":"object"},"type":{"enum":["event.created"],"type":"string"},"version":{"example":"2024-01-15","type":"string"}},"required":["type","id","version","occurred_at","payload"],"title":"EventCreatedWebhook","type":"object"},"PollPreview":{"description":"Preview of a poll","example":{"id":"poll_01J5KCBX3NKRFGT8V2WD9Y8H6X","name":"Meeting with John","slug":"meeting-with-john"},"properties":{"id":{"description":"Poll ID","type":"string"},"name":{"description":"Poll name","type":"string"},"slug":{"description":"Poll slug","type":"string"}},"required":["id","name","slug"],"title":"PollPreview","type":"object"}},"securitySchemes":{"OAuth2":{"description":"OAuth 2.0 authorization code flow","flows":{"authorizationCode":{"authorizationUrl":"/oauth/authorize","scopes":{},"tokenUrl":"/oauth/token"}},"type":"oauth2"},"PersonalAccessToken":{"bearerFormat":"pt_secret_XXXXXXXXX","description":"Personal access token authentication","scheme":"bearer","type":"http"}}},"info":{"title":"SavvyCal Meetings API","version":"1.0.0"},"openapi":"3.0.0","paths":{"/v1/events":{"get":{"callbacks":{},"description":"List your events scheduled via SavvyCal.","operationId":"listEvents","parameters":[{"description":"The maximum number of entries to return in the paginated response.","in":"query","name":"limit","schema":{"default":20,"maximum":100,"minimum":1,"type":"integer"}},{"description":"A cursor for use in pagination. Returns entries after the given cursor. Cursor values can be found in the `metadata` object on paginated responses.","in":"query","name":"after","schema":{"type":"string"}},{"description":"A cursor for use in pagination. Returns entries before the given cursor. Cursor values can be found in the `metadata` object on paginated responses.","in":"query","name":"before","schema":{"type":"string"}},{"description":"Filter by event state.","in":"query","name":"state","required":false,"schema":{"default":"confirmed","enum":["all","confirmed","canceled","awaiting_reschedule","awaiting_checkout","checkout_expired","awaiting_approval","declined","tentative"],"type":"string"}},{"description":"Filter by when events occur.","in":"query","name":"period","required":false,"schema":{"default":"upcoming","enum":["past","upcoming","fixed","all"],"type":"string"}},{"description":"Lower bound for start date (when `period` is `fixed`).","example":"2025-12-01","in":"query","name":"from","required":false,"schema":{"format":"date","type":"string"}},{"description":"Upper bound for start date (when `period` is `fixed`).","example":"2025-12-31","in":"query","name":"until","required":false,"schema":{"format":"date","type":"string"}},{"description":"Sort direction.","in":"query","name":"direction","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"Filter by whether the current user is attending. When `any`, returns all events accessible to the user.","in":"query","name":"attendance","required":false,"schema":{"default":"attending","enum":["attending","any"],"type":"string"}},{"description":"Filter by link ID.","in":"query","name":"link","required":false,"schema":{"default":"any","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventListResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"}},"summary":"List events","tags":["Events"]}},"/v1/events/{event_id}":{"get":{"callbacks":{},"description":"Fetch a single event.","operationId":"getEvent","parameters":[{"description":"Event ID or UUID","example":"event_01KKGY70MFPCECSQ6KM6FMDPC3","in":"path","name":"event_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleEventResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Get event","tags":["Events"]}},"/v1/events/{event_id}/cancel":{"post":{"callbacks":{},"description":"Cancel an event.","operationId":"cancelEvent","parameters":[{"description":"Event ID or UUID","example":"event_01KKGY70MFPCECSQ6KM6FMDPC3","in":"path","name":"event_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelEventRequest"}}},"description":"Cancellation details","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleEventResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Cancel event","tags":["Events"]}},"/v1/links":{"get":{"callbacks":{},"description":"Get a paginated list of scheduling links for the authenticated user.","operationId":"listSchedulingLinks","parameters":[{"description":"The maximum number of entries to return in the paginated response.","in":"query","name":"limit","schema":{"default":20,"maximum":100,"minimum":1,"type":"integer"}},{"description":"A cursor for use in pagination. Returns entries after the given cursor. Cursor values can be found in the `metadata` object on paginated responses.","in":"query","name":"after","schema":{"type":"string"}},{"description":"A cursor for use in pagination. Returns entries before the given cursor. Cursor values can be found in the `metadata` object on paginated responses.","in":"query","name":"before","schema":{"type":"string"}},{"description":"Filter by link state","example":"active","in":"query","name":"state","required":false,"schema":{"enum":["active","disabled"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkListResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Forbidden"}},"summary":"List scheduling links","tags":["Scheduling Links"]},"post":{"callbacks":{},"description":"Create a new scheduling link in personal scope of the current user.","operationId":"createPersonalSchedulingLink","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinkRequest"}}},"description":"Link creation parameters","required":false},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleLinkResponse"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unprocessable Entity"}},"summary":"Create personal scheduling link","tags":["Scheduling Links"]}},"/v1/links/{link_id}":{"delete":{"callbacks":{},"description":"Delete an existing scheduling link.","operationId":"deleteSchedulingLink","parameters":[{"description":"Link ID to delete","example":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","in":"path","name":"link_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleLinkResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Delete a scheduling link","tags":["Scheduling Links"]},"get":{"callbacks":{},"description":"Get a specific scheduling link by ID.","operationId":"getSchedulingLink","parameters":[{"description":"Link ID","example":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","in":"path","name":"link_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleLinkResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Get a scheduling link","tags":["Scheduling Links"]},"patch":{"callbacks":{},"description":"Update an existing scheduling link.","operationId":"updateSchedulingLink","parameters":[{"description":"Link ID","example":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","in":"path","name":"link_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLinkRequest"}}},"description":"Link update parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleLinkResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unprocessable Entity"}},"summary":"Update a scheduling link","tags":["Scheduling Links"]}},"/v1/links/{link_id}/duplicate":{"post":{"callbacks":{},"description":"Create a copy of an existing scheduling link.","operationId":"duplicateSchedulingLink","parameters":[{"description":"Link ID to duplicate","example":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","in":"path","name":"link_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleLinkResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Duplicate a scheduling link","tags":["Scheduling Links"]}},"/v1/links/{link_id}/events":{"post":{"callbacks":{},"description":"Create an event for a given scheduling link.\n\n**Note about time slots:** You'll only be able to create events that match an available time slot for the underlying scheduling link. You can use the [List Available Slots](/api/get-link-slots) endpoint to query for time slots.\n\n**Note about conferencing:** For some conferencing providers (like Zoom), the meeting information is not guaranteed to appear in the response body. If our initial attempt to create the meeting room fails, we will retry and attach the information to event later.\n","operationId":"createEvent","parameters":[{"description":"Scheduling link ID","example":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","in":"path","name":"link_id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEventRequest"}}},"description":"Event details","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleEventResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Validation errors"}},"summary":"Create event","tags":["Events"]}},"/v1/links/{link_id}/slots":{"get":{"callbacks":{},"description":"Get available time slots for booking on a scheduling link.\n\nIf the link organizer has configured multiple durations, we'll return all possible time slots for each duration. For example, if the organizer allows schedulers to book either 30 or 60 minutes, then you may see slots that start at the same time (or overlap) with different durations:\n\n```javascript\n[\n  {\n    start_at: \"2021-06-01T00:00:00Z\",\n    end_at: \"2021-06-01T00:30:00Z\",\n    duration: 30,\n    rank: 1\n  },\n  {\n    start_at: \"2021-06-01T00:00:00Z\",\n    end_at: \"2021-06-01T01:00:00Z\",\n    duration: 60,\n    rank: 1\n  }\n]\n```\n\nIf the organizer is using ranked availability, then the response may include slots with different `rank` values:\n\n```javascript\n[\n  // A slot with \"first\" preference\n  {\n    start_at: \"2021-06-01T00:00:00Z\",\n    end_at: \"2021-06-01T00:30:00Z\",\n    duration: 30,\n    rank: 1\n  },\n  // A slot with \"second\" preference\n  {\n    start_at: \"2021-06-01T03:00:00Z\",\n    end_at: \"2021-06-01T03:30:00Z\",\n    duration: 60,\n    rank: 2\n  }\n]\n```\n\nSlots with rank `1` are those the organizer prefers the most. Slots with rank `2` (and higher) will include all the slot times from lower ranks, plus additional times available in that rank. This means if you want to get the \"expanded\" availability (e.g. up to rank 2), you simply need to filter the list for slots where `rank === 2` (not where `rank === 1 || rank === 2`).\n\nHere's some JavaScript pseudo-code to demonstrate:\n\n```javascript\nconst slots = await fetchSlots();\n\n// Includes just the rank 1 times\nconst preferredAvailability = slots.filter(({ rank } => rank === 1));\n\n// Includes all rank 1 AND rank 2 times\nconst expandedAvailability = slots.filter(({ rank } => rank === 2));\n\n// Includes all rank 1, rank 2 and rank 3 times\nconst moreExpandedAvailability = slots.filter(({ rank } => rank === 3));\n```\n","operationId":"getLinkSlots","parameters":[{"description":"Scheduling link ID","example":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","in":"path","name":"link_id","required":true,"schema":{"type":"string"}},{"description":"Start time for slot search (ISO 8601)","example":"2024-01-20T00:00:00Z","in":"query","name":"from","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"End time for slot search (ISO 8601, max 31 days from 'from')","example":"2024-01-27T00:00:00Z","in":"query","name":"until","required":false,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkSlotListResponse"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unprocessable Entity"}},"summary":"Get available time slots","tags":["Scheduling Links"]}},"/v1/links/{link_id}/toggle":{"post":{"callbacks":{},"description":"Toggle a scheduling link between active and disabled states.","operationId":"toggleSchedulingLink","parameters":[{"description":"Link ID","example":"link_01J5KC2G3MHPCECSQ6KM6FMDPC","in":"path","name":"link_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleLinkResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Toggle link state","tags":["Scheduling Links"]}},"/v1/me":{"get":{"callbacks":{},"description":"Get the currently authenticated user's profile information","operationId":"getCurrentUser","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"}},"summary":"Get current user","tags":["Current User"]}},"/v1/scopes/{scope_slug}/links":{"post":{"callbacks":{},"description":"Create a new scheduling link under a specific individual or team scope. Use the scope slug (e.g. `acme-inc` or `john`) as the path parameter.","operationId":"createScopeSchedulingLink","parameters":[{"description":"Scope slug","example":"acme-inc","in":"path","name":"scope_slug","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLinkRequest"}}},"description":"Link creation parameters","required":false},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleLinkResponse"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Unprocessable Entity"}},"summary":"Create a scheduling link","tags":["Scheduling Links"]}},"/v1/time_zones":{"get":{"callbacks":{},"description":"Get a list of time zones with localized names and DST information.","operationId":"listTimeZones","parameters":[{"description":"The moment in time in which to describe the time zones (in ISO-8601 format).","example":"2024-01-20T14:00:00Z","in":"query","name":"instant","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"Include legacy/deprecated time zones.","in":"query","name":"include_legacy","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeZoneListResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"}},"summary":"List time zones","tags":["Time Zones"]}},"/v1/time_zones/*segments":{"get":{"callbacks":{},"description":"Get detailed information about a specific time zone.","operationId":"getTimeZone","parameters":[{"description":"Time zone identifier segments (e.g., 'America/Chicago' becomes ['America', 'Chicago'])","example":["America","Chicago"],"in":"path","name":"segments","required":true,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"ISO 8601 datetime to get time zone info for (defaults to current time)","example":"2024-01-20T14:00:00Z","in":"query","name":"instant","required":false,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleTimeZoneResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Get time zone","tags":["Time Zones"]}},"/v1/webhooks":{"get":{"callbacks":{},"description":"Get a paginated list of webhooks for the authenticated user.","operationId":"listWebhooks","parameters":[{"description":"The maximum number of entries to return in the paginated response.","in":"query","name":"limit","schema":{"default":20,"maximum":100,"minimum":1,"type":"integer"}},{"description":"A cursor for use in pagination. Returns entries after the given cursor. Cursor values can be found in the `metadata` object on paginated responses.","in":"query","name":"after","schema":{"type":"string"}},{"description":"A cursor for use in pagination. Returns entries before the given cursor. Cursor values can be found in the `metadata` object on paginated responses.","in":"query","name":"before","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookListResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"}},"summary":"List webhooks","tags":["Webhooks"]},"post":{"callbacks":{},"description":"Create a new webhook for receiving event notifications.","operationId":"createWebhook","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}},"description":"Webhook details","required":false},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleWebhookResponse"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"}},"summary":"Create webhook","tags":["Webhooks"]}},"/v1/webhooks/{webhook_id}":{"delete":{"callbacks":{},"description":"Delete an existing webhook.","operationId":"deleteWebhook","parameters":[{"description":"Webhook ID","example":"wh_01J5KC8V1MKRFGT8V2WD9Y8H6X","in":"path","name":"webhook_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleWebhookResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Delete webhook","tags":["Webhooks"]},"get":{"callbacks":{},"description":"Get a specific webhook by ID.","operationId":"getWebhook","parameters":[{"description":"Webhook ID","example":"wh_01J5KC8V1MKRFGT8V2WD9Y8H6X","in":"path","name":"webhook_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleWebhookResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"Get webhook","tags":["Webhooks"]}},"/v1/workflows":{"get":{"callbacks":{},"description":"Get a paginated list of workflows for scopes the authenticated user manages.","operationId":"listWorkflows","parameters":[{"description":"The maximum number of entries to return in the paginated response.","in":"query","name":"limit","schema":{"default":20,"maximum":100,"minimum":1,"type":"integer"}},{"description":"A cursor for use in pagination. Returns entries after the given cursor. Cursor values can be found in the `metadata` object on paginated responses.","in":"query","name":"after","schema":{"type":"string"}},{"description":"A cursor for use in pagination. Returns entries before the given cursor. Cursor values can be found in the `metadata` object on paginated responses.","in":"query","name":"before","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowListResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"}},"summary":"List workflows","tags":["Workflows"]}},"/v1/workflows/{workflow_id}/rules":{"get":{"callbacks":{},"description":"Get a list of rules for a specific workflow","operationId":"listWorkflowRules","parameters":[{"description":"Workflow ID","example":"wkflw_01J5KCGG7RKRFGT8V2WD9Y8H6X","in":"path","name":"workflow_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowRuleListResponse"}}},"description":"Success"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Unauthorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":"Not Found"}},"summary":"List workflow rules","tags":["Workflows"]}}},"security":[{"OAuth2":[]},{"PersonalAccessToken":[]}],"servers":[{"url":"https://api.savvycal.com","variables":{}}],"tags":[{"description":"An event represents a meeting that has been scheduled via SavvyCal.","name":"Events"},{"description":"A scheduling link represents a URL that can be used to schedule meetings.","name":"Scheduling Links"},{"description":"The current user is a representation of the user making the API request.","name":"Current User"},{"description":"A time zone represents a region of the world with a specific offset from Coordinated Universal Time (UTC).","name":"Time Zones"},{"description":"A webhook represents an endpoint that can be used to receive notifications about events in the system.","name":"Webhooks"},{"description":"A workflow represents a series of actions that can be triggered by events in the system.","name":"Workflows"}]}