Appointment scheduled subscribe example:
curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "appointment/scheduled",
"target_url": "URL"
}'
Appointment scheduled response example:
{
"entity_name": "appointment",
"event_type": "scheduled",
"data": {
"appointment_id": "3in0a3b32nut67l6",
"conversation_id": "pto6yng4e908c8g0",
"title": "Introductory Phone Call",
"client_id": "54gjvtadfbxiom7y",
"staff_id": "e6j4i1ofy2pf0dmg",
"start_time": "2019-10-29T10:00:00.000+02:00",
"end_time": "2019-10-29T10:30:00.000+02:00",
"duration": 30,
"notes": "",
"interaction_details": "123456",
"currency": "ILS",
"payment_id": null,
"where": "phone"
},
"phone_for_meeting": "123456"
}