BizKitHub
DocsAPI ReferenceCalendar/api/v1/calendar/attendee-accept
postCalendarPublic 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

Parameters

JSON body

Request body

application/json
tokenstringRequired

Attendee confirm hash from the invitation link.

Length: 32–32
Examplenbbaqgyvguwazuzrxynxwnpgnditjzbc

Response schema

1 status code documented

200Success
state"accepted" | "already-accepted" | "event-cancelled" | "not-found"Required
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.

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

Response example

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

Request example

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

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key