Events & Bookings

Attendances

The Attendances API lists your organisation's event attendances: one record each time someone's attendance at an event is recorded, for example with the register. Use it for reporting and for loading attendance into your own systems.

Attendance taken with the register isn't a booking, so the Bookings API doesn't return it. This API does.

List Attendances

Endpoint

GET /api/v1/attendances

Query Parameters

  • from (string, required) - The first day to include, as YYYY-MM-DD.
  • to (string, required) - The last day to include, as YYYY-MM-DD. It must be on or after from.
  • limit (number, default: 100, min: 1, max: 250) - The most attendances to return in one page.
  • cursor (string, optional) - The nextCursor from the previous page. Leave it out for the first page.
  • organisationId (string) - Required when you sign in with a token rather than an API key. Staff with restricted access can't use this endpoint.

from and to are whole days in your organisation's time zone, so from=2026-07-01&to=2026-07-31 returns every attendance in July, UK time for a UK organisation.

This endpoint pages with a cursor, not offset. A request that includes offset gets a 400.

Response

{
  "attendances": [
    {
      "attendanceId": "att_abc123",
      "eventId": "event456",
      "seriesEventId": "series789",
      "eventName": "Stay and Play",
      "date": "2026-07-02T09:00:00.000Z",
      "start": "2026-07-02T09:00:00.000Z",
      "end": "2026-07-02T10:30:00.000Z",
      "venue": {
        "name": "Community Hub",
        "postcode": "AB1 2CD"
      },
      "status": "attended",
      "isUnnamedAttendee": false,
      "memberIds": ["member123"],
      "volunteerIds": [],
      "partnerIds": []
    }
  ],
  "nextCursor": "WzE3ODI5ODI4MDAwMDAsImF0dF9hYmMxMjMiXQ",
  "limit": 100,
  "total": 1834
}

Response Fields

FieldTypeDescription
attendanceIdstringUnique identifier for the attendance
eventIdstringThe event the attendance is for
seriesEventIdstring or nullThe series the event belongs to, or null for a one-off event. Use it to group the dates of a weekly session together.
eventNamestring or nullThe event's name when the attendance was recorded. For an appointment, the appointment's name, without whether the person attended.
datestring or nullWhen the attendance was recorded for, as an ISO 8601 UTC timestamp
start, endstring or nullThe session's start and end times, as ISO 8601 UTC timestamps
venueobject or nullThe venue's name and postcode
statusstringattended or did_not_attend. See below.
isUnnamedAttendeebooleantrue when someone was counted without being linked to a person's record
memberIdsarrayThe members the attendance is for
volunteerIdsarrayThe volunteers the attendance is for
partnerIdsarrayThe partner organisations the attendance is for

The page also has nextCursor, the cursor for the next page or null on the last page, limit, and total, the number of attendances in the whole range.

Attendance status

  • did_not_attend: an appointment the person was booked on and missed.
  • attended: every other attendance. The register and check-ins record only the people who came.

Getting people's details

Attendances hold member IDs, not people's details. To report on who attended, fetch your members from the Members API and match them on memberIds. That gives you each person's name, date of birth, postcode, household and any other field in your schema, as they are now.

An attendance can be for more than one member. An unnamed attendee has no member, volunteer or partner IDs.

Example Requests

The first page of July's attendances:

curl -X GET "https://app.plinth.org.uk/api/v1/attendances?from=2026-07-01&to=2026-07-31&limit=250" \
  -H "x-api-key: sk_your_api_key"

The next page, using the nextCursor from the first:

curl -X GET "https://app.plinth.org.uk/api/v1/attendances?from=2026-07-01&to=2026-07-31&limit=250&cursor=WzE3ODI5ODI4MDAwMDAsImF0dF9hYmMxMjMiXQ" \
  -H "x-api-key: sk_your_api_key"

Keep the same from, to and limit while you page. Stop when nextCursor is null.

Good to know

  • Attendances are listed oldest first.
  • A new or changed attendance can take a short time to appear.
  • Every successful request is recorded in your organisation's access log: under the user who created the API key, or under you when you sign in with a token.

Error Responses

StatusDescription
400Bad Request - A missing or invalid parameter, a to before from, or a cursor this endpoint didn't issue
401Unauthorized - An invalid or missing API key, or a token for someone who isn't in organisationId
403Forbidden - An API key that isn't linked to an organisation, or a token for a staff member with restricted access
500Internal Server Error
Previous
Bookings