Skip to content
campaiDeveloper
campai.com

Misc · Assemblies

POST/{organizationId}/{mandateId}/misc/assemblies/listReads only

List meetings

Returns the meetings and written resolutions of a mandate with their time, place, status and counts, and for a meeting that books its room the series id of that reservation. A view narrows them to upcoming or running ones, past ones, drafts or canceled ones, and a period to the meetings held in it, without written resolutions.

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
  • assembly.read
Also checked, depending on the request and the records it touches
  • user.read
  • apiKey.read
  • contact:member.read
  • contact:address.read
  • contact:customer.read
  • contact:sponsor.read
  • contact:contributor.read
  • contact:employee.read
  • contact:supplier.read
  • contact.read

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired

Body

Content-Type: application/json

  • sortobject of string

    The keys to sort by, each with its direction. Sorting lists every key.

    asc desc
  • limitinteger

    0–500 · default 50

  • offsetinteger

    at least 0 · default 0

  • returnCountboolean

    default false

  • viewstring

    default "all"

    upcoming past draft canceled all
  • kindsstring[]
    general delegates board written
  • periodobject
    2 properties
    • fromstring · date-timerequired
    • tostring · date-timerequired
  • searchTermstring
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/misc/assemblies/list' \
  --header 'X-API-Key: YOUR_API_KEY'

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

Sorting

sort takes the keys to sort by, each with asc or desc.

57 sort keys
Key
_id
mandate
shortId
title
kind
format
timezone
period.start
period.end
votingPeriod.opensAt
votingPeriod.closesAt
place.type
place.resource.site
place.resource.siteName
place.resource.siteAddress.country
place.resource.siteAddress.state
place.resource.siteAddress.zip
place.resource.siteAddress.city
place.resource.siteAddress.addressLine
place.resource.siteAddress.details1
place.resource.siteAddress.details2
place.resource.resource
place.resource.resourceName
place.resource.quantity
place.address.country
place.address.state
place.address.zip
place.address.city
place.address.addressLine
place.address.details1
place.address.details2
place.location.latitude
place.location.longitude
place.online.url
place.online.instructions
status
statistics.voters.count
statistics.voters.weight
statistics.guests
statistics.externals
statistics.present.count
statistics.present.weight
statistics.votes
statistics.decided
cancelation.canceledAt
cancelation.canceledBy.name
cancelation.canceledBy.type
cancelation.canceledBy.userId
cancelation.canceledBy.image.resource
cancelation.canceledBy.image.fileName
cancelation.canceledBy.image.contentType
cancelation.canceledBy.image.fileSizeBytes
cancelation.canceledBy.key
cancelation.reason
closedAt
invitation.sentAt
roomReservationSeriesId

Response

200 Successful response

Content-Type: application/json

  • countinteger

    at least 0

  • assembliesobject[]
    16 properties
    • _idid
    • mandateid
    • shortIdstring

      exactly 6 characters

    • titlestring

      1–120 characters

    • kindstring
      general delegates board written
    • formatstring
      inPerson hybrid online written
    • timezonestring

      at least 1 characters

    • periodobjectnullable
      2 properties
      • startstring · date-time
      • endstring · date-timenullable
    • votingPeriodobjectnullable
      2 properties
      • opensAtstring · date-time
      • closesAtstring · date-time
    • placeobjectnullable
      5 properties
      • typestring
        resource address online
      • resourceobject
        6 properties
        • siteid
        • siteNamestring

          at least 1 characters

        • siteAddressobject
          7 properties
          • countrystring
          • statestring
          • zipstring

            at most 10 characters

          • citystring

            at most 45 characters

          • addressLinestring

            at most 45 characters

          • details1string

            at most 45 characters

          • details2string

            at most 45 characters

        • resourceid
        • resourceNamestring
        • quantityinteger
      • addressobject
        7 properties
        • countrystring
        • statestring
        • zipstring

          at most 10 characters

        • citystring

          at most 45 characters

        • addressLinestring

          at most 45 characters

        • details1string

          at most 45 characters

        • details2string

          at most 45 characters

      • locationobjectnullable
        2 properties
        • latitudenumber

          -90–90

        • longitudenumber

          -180–180

      • onlineobject
        2 properties
        • urlstring · uri

          at most 300 characters

        • instructionsstring

          at most 400 characters

    • statusstring
      draft invited running closed canceled
    • statisticsobject
      6 properties
      • votersobject
        2 properties
        • countinteger

          at least 0

        • weightnumber

          at least 0

      • guestsinteger

        at least 0

      • externalsinteger

        at least 0

      • presentobject
        2 properties
        • countinteger

          at least 0

        • weightnumber

          at least 0

      • votesinteger

        at least 0

      • decidedinteger

        at least 0

    • cancelationobjectnullable
      3 properties
      • canceledAtstring · date-time
      • canceledByobject
      • reasonstring

        at most 500 characters

    • closedAtstring · date-timenullable
    • invitationobject
      1 property
      • sentAtstring · date-timenullable
    • roomReservationSeriesIdstringnullable
  • searchLimitedboolean
  • searchTotalnumbernullable
Response200
{
  "count": 0,
  "assemblies": [
    {
      "_id": "000000000000000000000001",
      "mandate": "000000000000000000000001",
      "shortId": "string",
      "title": "string",
      "kind": "general",
      "format": "inPerson",
      "timezone": "string",
      "period": {
        "start": "2026-06-15T22:30:00Z",
        "end": "2026-06-15T22:30:00Z"
      },
      "votingPeriod": {
        "opensAt": "2026-06-15T22:30:00Z",
        "closesAt": "2026-06-15T22:30:00Z"
      },
      "place": {
        "type": "resource"
      },
      "status": "draft",
      "statistics": {
        "voters": {
          "count": 0,
          "weight": 0
        },
        "guests": 0,
        "externals": 0,
        "present": {
          "count": 0,
          "weight": 0
        },
        "votes": 0,
        "decided": 0
      },
      "cancelation": {
        "canceledAt": "2026-06-15T22:30:00Z",
        "canceledBy": {
          "name": "string",
          "type": "user",
          "userId": "string",
          "image": {
            "resource": "string"
          }
        },
        "reason": "string"
      },
      "closedAt": "2026-06-15T22:30:00Z",
      "invitation": {
        "sentAt": "2026-06-15T22:30:00Z"
      },
      "roomReservationSeriesId": "string"
    }
  ],
  "searchLimited": true,
  "searchTotal": 1
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.