Comments 10Daniel Schindlower started the conversationApril 18, 2021 at 12:59amHi, I have a question.I have disabled the email notification for customers and created my own notifications trigered using webhooks. I want to know if I it's possible to have access to the customer-panel link wich is sent in the Amelia email notifications, through the webhook??Thanks![deleted] repliedApril 20, 2021 at 1:53pmHi, Daniel!Thank you for choosing Amelia.I consulted with our developers regarding your case, and they said that it can be added to the JSON inside the bookings field:And this is an example of JSON that is sent via WebHook: {"appointment":{"id":1951,"bookings":{"0":{"id":2060,"customerId":194,"customer":{"id":194,"firstName":"John","lastName":"Doe","birthday":null,"email":"[email protected]","phone":null,"type":"customer","status":"visible","note":null,"zoomUserId":null,"countryPhoneIso":"rs","externalId":null,"pictureFullPath":null,"pictureThumbPath":null,"gender":null},"status":"approved","extras":{},"couponId":null,"price":0,"coupon":null,"customFields":{"1":{"label":"Application","value":{},"type":"file"}},"info":"{\"firstName\":\"\\John\",\"lastName\":\"Doe\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\\/Berlin\"}","appointmentId":1951,"persons":1,"token":"1ce0dd376b","payments":{"0":{"id":1774,"customerBookingId":2060,"packageCustomerId":null,"amount":0,"gateway":"onSite","gatewayTitle":"","dateTime":"2021-05-23 09:00:00","status":"paid","data":""}},"utcOffset":120,"aggregatedPrice":false,"isChangedStatus":true,"packageCustomerService":null,"cancelUrl":"","customerPanelUrl":""}},"notifyParticipants":1,"internalNotes":"","status":"approved","serviceId":1,"parentId":null,"providerId":121,"locationId":null,"provider":{"id":121,"firstName":"Jane","lastName":"Jane","birthday":null,"email":"[email protected]","phone":"","type":"provider","status":"visible","note":null,"zoomUserId":null,"countryPhoneIso":"rs","externalId":19,"pictureFullPath":"","pictureThumbPath":"","weekDayList":{"0":{"id":196,"dayIndex":7,"startTime":"09:00:00","endTime":"13:00:00","timeOutList":{},"periodList":{"0":{"id":198,"startTime":"09:00:00","endTime":"13:00:00","locationId":null,"periodServiceList":{}}}}},"serviceList":{},"dayOffList":{},"specialDayList":{},"locationId":null,"googleCalendar":null,"outlookCalendar":null},"service":{"id":1,"name":"Service","description":"","color":"#774DFB","price":0,"deposit":0,"depositPayment":"disabled","depositPerPerson":false,"pictureFullPath":"","pictureThumbPath":"","extras":{"0":{"id":5,"name":"Extra Hour","description":null,"price":5,"maxQuantity":1,"position":1,"duration":3600,"serviceId":null,"aggregatedPrice":true,"translations":""}},"coupons":{},"position":null,"settings":"{\"payments\":{\"onSite\":true,\"payPal\":{\"enabled\":true},\"stripe\":{\"enabled\":true}},\"zoom\":{\"enabled\":true},\"general\":{\"minimumTimeRequirementPriorToBooking\":600},\"activation\":{\"version\":\"3.2\"}}","minCapacity":1,"maxCapacity":5,"duration":3600,"timeBefore":null,"timeAfter":null,"bringingAnyone":true,"show":true,"aggregatedPrice":false,"status":"visible","categoryId":1,"category":null,"priority":{},"gallery":{},"recurringCycle":null,"recurringSub":null,"recurringPayment":999,"translations":""},"location":null,"googleCalendarEventId":null,"outlookCalendarEventId":null,"zoomMeeting":null,"bookingStart":"2021-05-23 09:00:00","bookingEnd":"2021-05-23 10:00:00","type":"appointment","isRescheduled":null},"bookings":{"0":{"id":2060,"customerId":194,"customer":{"id":194,"firstName":"John","lastName":"Doe","birthday":null,"email":"[email protected]","phone":null,"type":"customer","status":"visible","note":null,"zoomUserId":null,"countryPhoneIso":"rs","externalId":null,"pictureFullPath":null,"pictureThumbPath":null,"gender":null},"status":"approved","extras":{},"couponId":null,"price":0,"coupon":null,"customFields":{"1":{"label":"Application","value":{},"type":"file"}},"info":"{\"firstName\":\"\\John\",\"lastName\":\"Doe\",\"phone\":null,\"locale\":\"en_US\",\"timeZone\":\"Europe\\\/Berlin\"}","appointmentId":1951,"persons":1,"token":"1ce0dd376b","payments":{"0":{"id":1774,"customerBookingId":2060,"packageCustomerId":null,"amount":0,"gateway":"onSite","gatewayTitle":"","dateTime":"2021-05-23 09:00:00","status":"paid","data":""}},"utcOffset":120,"aggregatedPrice":false,"isChangedStatus":true,"packageCustomerService":null,"isRecurringBooking":false,"isPackageBooking":false,"cancelUrl":"","customerPanelUrl":""}}} Hope that will help.Best Regards. Sign in to reply ...
Hi,
I have a question.
I have disabled the email notification for customers and created my own notifications trigered using webhooks.
I want to know if I it's possible to have access to the customer-panel link wich is sent in the Amelia email notifications, through the webhook??
Thanks!
Hi, Daniel!
Thank you for choosing Amelia.
I consulted with our developers regarding your case, and they said that it can be added to the JSON inside the bookings field:
And this is an example of JSON that is sent via WebHook:
Hope that will help.
Best Regards.