Skip to content
campaiDeveloper
campai.com

Booking · Events

GET/{organizationId}/{mandateId}/booking/events/{eventId}/interests/listReads only

List interested people

Lists people who asked to be notified when an event series can be booked. Provide the organization ID, nullable mandate ID, and event ID. Returns up to 500 entries with _id, name, email, and createdAt, oldest first.

Permissions

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

Who may call it

  • Callers must have organization access.
  • The caller needs the mandate.read and event.read permissions.

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • eventIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request GET 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/events/YOUR_EVENT_ID/interests/list' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

A list of object.

  • _idid
  • namestring

    1–100 characters

  • emailstring
  • createdAtstring · date-timenullable
Response200
[
  {
    "_id": "000000000000000000000001",
    "name": "string",
    "email": "string"
  }
]

Errors

Other errors

StatusErrorWhen
404The given event was not foundIf the event is not found, the endpoint returns 404 with key booking.event.eventNotFound.

Errors nearly every request can meet are listed under Errors.