post https://{booking_server}/partner/webhook/subscribe
Register a webhook URL, where you going to receive a payload like the example below:
{
"event": {
"id": "231fd985-d3a3-40b3-99a8-c363fc26aaaa",
"title": "Yoga"
},
"place": {
"place": "ac04cf8a-8643-41d5-a0c9-efee02f9aaaa",
"name": "Bio Ritmo Paulista"
},
"user": {
"name": "Cisne",
"email": "[email protected]",
"phone": "xxxxxxxxx",
"document_number": "12345678900",
"document_type": "cpf",
"code": "ABCDEF"
},
"slot": {
"id": "64c1ad93a879333d436da6e8",
"status": "active",
"date": "2023-07-31T00:00:00.000Z"
}
}