Skip to content
campaiDeveloper
campai.com

Misc · Assemblies

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

List participants

Returns the register of a meeting: voters and guests with their presence, group, weight, whether they have the Community-App or a personal link, and the proxies they gave and hold. Removed people are listed only when asked for.

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
  • assemblyIdidrequired

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

  • searchTermstring
  • rolesstring[]
    voter guest
  • presencestring
    present absent
  • sourcesstring[]
    register added external
  • groupsstring[]
  • accessstring
    app linkOpened linkSent none
  • proxystring
    holds gave
  • removedboolean

    default false

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/YOUR_ASSEMBLY_ID/participants/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.

129 sort keys
Key
_id
createdAt
updatedAt
removedAt
createdBy.name
createdBy.type
createdBy.userId
createdBy.image.resource
createdBy.image.fileName
createdBy.image.contentType
createdBy.image.fileSizeBytes
createdBy.key
updatedBy.name
updatedBy.type
updatedBy.userId
updatedBy.image.resource
updatedBy.image.fileName
updatedBy.image.contentType
updatedBy.image.fileSizeBytes
updatedBy.key
removedBy.name
removedBy.type
removedBy.userId
removedBy.image.resource
removedBy.image.fileName
removedBy.image.contentType
removedBy.image.fileSizeBytes
removedBy.key
__ignoreTriggers
organization
assembly
person.name
person.type
person.nameNormalized
person.nameSort
person.contact
person.image.resource
person.image.fileName
person.image.contentType
person.image.fileSizeBytes
person.user.name
person.user.type
person.user.userId
person.user.image.resource
person.user.image.fileName
person.user.image.contentType
person.user.image.fileSizeBytes
contactInfo.email
contactInfo.phone
represents.name
represents.type
represents.nameNormalized
represents.nameSort
represents.contact
represents.image.resource
represents.image.fileName
represents.image.contentType
represents.image.fileSizeBytes
represents.user.name
represents.user.type
represents.user.userId
represents.user.image.resource
represents.user.image.fileName
represents.user.image.contentType
represents.user.image.fileSizeBytes
authorization.resource
authorization.fileName
authorization.contentType
authorization.fileSizeBytes
source
role
group
weight
proxy.holder
proxy.document.resource
proxy.document.fileName
proxy.document.contentType
proxy.document.fileSizeBytes
proxy.statement
proxy.source
proxy.grantedAt
proxy.grantedBy.name
proxy.grantedBy.type
proxy.grantedBy.userId
proxy.grantedBy.image.resource
proxy.grantedBy.image.fileName
proxy.grantedBy.image.contentType
proxy.grantedBy.image.fileSizeBytes
proxy.grantedBy.key
presence.present
presence.mode
presence.since
presence.source
invitation.dispatch
invitation.channel
invitation.sentAt
removal.at
removal.by.name
removal.by.type
removal.by.userId
removal.by.image.resource
removal.by.image.fileName
removal.by.image.contentType
removal.by.image.fileSizeBytes
removal.by.key
removal.reason
access.link
access.sentAt
access.lastSeenAt
app
contactNumber
proxyHolder._id
proxyHolder.person.name
proxyHolder.person.type
proxyHolder.person.nameNormalized
proxyHolder.person.nameSort
proxyHolder.person.contact
proxyHolder.person.image.resource
proxyHolder.person.image.fileName
proxyHolder.person.image.contentType
proxyHolder.person.image.fileSizeBytes
proxyHolder.person.user.name
proxyHolder.person.user.type
proxyHolder.person.user.userId
proxyHolder.person.user.image.resource
proxyHolder.person.user.image.fileName
proxyHolder.person.user.image.contentType
proxyHolder.person.user.image.fileSizeBytes
heldProxies

Response

200 Successful response

Content-Type: application/json

  • countinteger

    at least 0

  • participantsobject[]
    27 properties
    • _idid
    • createdAtstring · date-timenullable
    • updatedAtstring · date-timenullable
    • removedAtstring · date-timenullable
    • createdByobjectnullable
    • updatedByobjectnullable
    • removedByobjectnullable
    • __ignoreTriggersstringnullable
    • organizationid
    • assemblyid
    • personobject
      7 properties
      • namestring
      • typestring
      • nameNormalizedstring
      • nameSortstring
      • contactidnullable
      • imageobjectnullable
        4 properties
        • resourcestring

          at least 1 characters

        • fileNamestring

          at most 128 characters

        • contentTypestring

          at most 75 characters

        • fileSizeBytesinteger

          at least 0

      • userobjectnullable
        4 properties
        • namestring
        • typestring
        • userIdstring
        • imageobjectnullable
          4 properties
          • resourcestring

            at least 1 characters

          • fileNamestring

            at most 128 characters

          • contentTypestring

            at most 75 characters

          • fileSizeBytesinteger

            at least 0

    • contactInfoobject
      2 properties
      • emailstringnullable

        at most 200 characters

      • phonestringnullable

        at most 40 characters

    • representsobjectnullable
      7 properties
      • namestring
      • typestring
      • nameNormalizedstring
      • nameSortstring
      • contactidnullable
      • imageobjectnullable
        4 properties
        • resourcestring

          at least 1 characters

        • fileNamestring

          at most 128 characters

        • contentTypestring

          at most 75 characters

        • fileSizeBytesinteger

          at least 0

      • userobjectnullable
        4 properties
        • namestring
        • typestring
        • userIdstring
        • imageobjectnullable
          4 properties
          • resourcestring

            at least 1 characters

          • fileNamestring

            at most 128 characters

          • contentTypestring

            at most 75 characters

          • fileSizeBytesinteger

            at least 0

    • authorizationobjectnullable
      4 properties
      • resourcestring

        at least 1 characters

      • fileNamestring

        at most 128 characters

      • contentTypestring

        at most 75 characters

      • fileSizeBytesinteger

        at least 0

    • sourcestring
      register added external
    • rolestring
      voter guest
    • groupstringnullable

      at most 60 characters

    • weightnumber

      at most 100000

    • proxyobjectnullable
      6 properties
      • holderid
      • documentobjectnullable
        4 properties
        • resourcestring

          at least 1 characters

        • fileNamestring

          at most 128 characters

        • contentTypestring

          at most 75 characters

        • fileSizeBytesinteger

          at least 0

      • statementstringnullable

        at most 1000 characters

      • sourcestring
        staff self
      • grantedAtstring · date-time
      • grantedByobjectnullable
    • presenceobject
      4 properties
      • presentboolean
      • modestringnullable
        room online
      • sincestring · date-timenullable
      • sourcestringnullable
        staff self qr desk
    • invitationobject
      3 properties
      • dispatchidnullable
      • channelstringnullable
        email letter app
      • sentAtstring · date-timenullable
    • removalobjectnullable
      3 properties
      • atstring · date-time
      • byobject
      • reasonstring

        at most 240 characters

    • accessobject
      3 properties
      • linkboolean
      • sentAtstring · date-timenullable
      • lastSeenAtstring · date-timenullable
    • appboolean
    • contactNumberstringnullable
    • proxyHolderobjectnullable
      2 properties
      • _idid
      • personobject
        7 properties
        • namestring
        • typestring
        • nameNormalizedstring
        • nameSortstring
        • contactidnullable
        • imageobjectnullable
          4 properties
          • resourcestring

            at least 1 characters

          • fileNamestring

            at most 128 characters

          • contentTypestring

            at most 75 characters

          • fileSizeBytesinteger

            at least 0

        • userobjectnullable
          4 properties
          • namestring
          • typestring
          • userIdstring
          • imageobjectnullable
            4 properties
            • resourcestring

              at least 1 characters

            • fileNamestring

              at most 128 characters

            • contentTypestring

              at most 75 characters

            • fileSizeBytesinteger

              at least 0

    • heldProxiesobject[]
      2 properties
      • _idid
      • personobject
        7 properties
        • namestring
        • typestring
        • nameNormalizedstring
        • nameSortstring
        • contactidnullable
        • imageobjectnullable
          4 properties
          • resourcestring

            at least 1 characters

          • fileNamestring

            at most 128 characters

          • contentTypestring

            at most 75 characters

          • fileSizeBytesinteger

            at least 0

        • userobjectnullable
          4 properties
          • namestring
          • typestring
          • userIdstring
          • imageobjectnullable
            4 properties
            • resourcestring

              at least 1 characters

            • fileNamestring

              at most 128 characters

            • contentTypestring

              at most 75 characters

            • fileSizeBytesinteger

              at least 0

  • searchLimitedboolean
  • searchTotalnumbernullable
Response200
{
  "count": 0,
  "participants": [
    {
      "_id": "000000000000000000000001",
      "organization": "000000000000000000000001",
      "assembly": "000000000000000000000001",
      "person": {
        "name": "string",
        "type": "contact",
        "nameNormalized": "string",
        "nameSort": "string",
        "contact": "000000000000000000000001",
        "image": {
          "resource": "string"
        },
        "user": {
          "name": "string",
          "type": "user",
          "userId": "string",
          "image": {
            "resource": "string"
          }
        }
      },
      "contactInfo": {
        "email": "string",
        "phone": "string"
      },
      "represents": {
        "name": "string",
        "type": "contact",
        "nameNormalized": "string",
        "nameSort": "string",
        "contact": "000000000000000000000001",
        "image": {
          "resource": "string"
        },
        "user": {
          "name": "string",
          "type": "user",
          "userId": "string",
          "image": {
            "resource": "string"
          }
        }
      },
      "authorization": {
        "resource": "string"
      },
      "source": "register",
      "role": "voter",
      "group": "string",
      "weight": 1,
      "proxy": {
        "holder": "000000000000000000000001",
        "document": {
          "resource": "string"
        },
        "statement": "string",
        "source": "staff",
        "grantedAt": "2026-06-15T22:30:00Z",
        "grantedBy": {
          "name": "string",
          "type": "user",
          "userId": "string",
          "image": {
            "resource": "string"
          }
        }
      },
      "presence": {
        "present": true,
        "mode": "room",
        "since": "2026-06-15T22:30:00Z",
        "source": "staff"
      },
      "invitation": {
        "dispatch": "000000000000000000000001",
        "channel": "email",
        "sentAt": "2026-06-15T22:30:00Z"
      },
      "removal": {
        "at": "2026-06-15T22:30:00Z",
        "by": {
          "name": "string",
          "type": "user",
          "userId": "string",
          "image": {
            "resource": "string"
          }
        },
        "reason": "string"
      },
      "access": {
        "link": true,
        "sentAt": "2026-06-15T22:30:00Z",
        "lastSeenAt": "2026-06-15T22:30:00Z"
      },
      "app": true,
      "contactNumber": "string",
      "proxyHolder": {
        "_id": "000000000000000000000001",
        "person": {
          "name": "string",
          "type": "contact",
          "nameNormalized": "string",
          "nameSort": "string",
          "contact": "000000000000000000000001",
          "image": {
            "resource": "string"
          },
          "user": {
            "name": "string",
            "type": "user",
            "userId": "string",
            "image": {
              "resource": "string"
            }
          }
        }
      },
      "heldProxies": [
        {
          "_id": "000000000000000000000001",
          "person": {
            "name": "string",
            "type": "contact",
            "nameNormalized": "string",
            "nameSort": "string",
            "contact": "000000000000000000000001",
            "image": {
              "resource": "string"
            },
            "user": {
              "name": "string",
              "type": "user",
              "userId": "string",
              "image": {
                "resource": "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.