Skip to content
campaiDeveloper
campai.com

Booking · Events · Attendance confirmations

POST/{organizationId}/{mandateId}/booking/events/{eventId}/attendance-confirmations/without-booking

Confirm attendance without a booking

Issues the event's confirmation to someone who has no booking on the date, such as a guest, by name and optionally linked to a contact. With an email address the document is sent there, otherwise it is only created. With a confirmation type that confirms whole courses, the attended dates of the course are given. No certificate is issued with it.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • event.read
  • attendee.edit

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • eventIdidrequired

Body

Content-Type: application/json

  • namestringrequired

    1–81 characters

  • emailstringrequirednullable
  • contactIdidrequirednullable
  • attendedEventIdsid[]required

    at most 500 items

Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/events/YOUR_EVENT_ID/attendance-confirmations/without-booking' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

Content-Type: application/json

  • confirmationIdid
Response200
{
  "confirmationId": "000000000000000000000001"
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.