Parametry
Treść JSON
Treść żądania
application/jsontokenstringWymaganeAttendee confirm hash from the invitation link.
nbbaqgyvguwazuzrxynxwnpgnditjzbcFlips core__calendar_attendee.accepted to true for the attendee behind the provided confirm hash. Idempotent — returns already-accepted if the token was already consumed and event-cancelled if the underlying event has been stornoed. When the attendee was created from a paid order that carries a return_url, that URL is echoed back as redirectUrl so the confirmation page can bounce the recipient to the merchant that originated the booking.
Treść JSON
tokenstringWymaganeAttendee confirm hash from the invitation link.
nbbaqgyvguwazuzrxynxwnpgnditjzbc1 udokumentowany kod statusu
state"accepted" | "already-accepted" | "event-cancelled" | "not-found"WymaganeredirectUrlstringOpcjonalneuriBacklink stored on the order the event was booked through. Present only when the attendee is tied to an order with a non-NULL return_url; frontends should navigate to it after rendering the success screen.
https://merchant.example.com/booking/thank-you{
"redirectUrl": "https://merchant.example.com/booking/thank-you"
}POST /api/v1/calendar/attendee-accept
curl -X POST "https://api.bizkithub.com/api/v1/calendar/attendee-accept" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"token": "nbbaqgyvguwazuzrxynxwnpgnditjzbc"
}'Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.