BizKitHub
DokumentationAPI-ExplorerCalendar/api/v1/calendar/attendee-accept
postCalendarÖffentliche API v1

/api/v1/calendar/attendee-accept

Flips 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.

calendarpostApiV1CalendarAttendee-accept

Parameter

JSON-Body

Request-Body

application/json
tokenstringPflicht

Attendee confirm hash from the invitation link.

Länge: 32
Beispielnbbaqgyvguwazuzrxynxwnpgnditjzbc

Antwortschema

1 dokumentierter Statuscode

200Erfolg
state"accepted" | "already-accepted" | "event-cancelled" | "not-found"Pflicht
redirectUrlstringOptionaluri

Backlink 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.

Beispielhttps://merchant.example.com/booking/thank-you

Antwortbeispiel

application/json
{
  "redirectUrl": "https://merchant.example.com/booking/thank-you"
}

Anfragebeispiel

POST /api/v1/calendar/attendee-accept

post
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"
}'

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten