Parametre
JSON telo
Telo požiadavky
application/jsontokenstringPovinnéAttendee 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.
JSON telo
tokenstringPovinnéAttendee confirm hash from the invitation link.
nbbaqgyvguwazuzrxynxwnpgnditjzbc1 zdokumentovaný stavový kód
state"accepted" | "already-accepted" | "event-cancelled" | "not-found"PovinnéredirectUrlstringVoliteľnéuriBacklink 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"
}'Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.