Misc · Assemblies
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.readassembly.read
Also checked, depending on the request and the records it touches
user.readapiKey.readcontact:member.readcontact:address.readcontact:customer.readcontact:sponsor.readcontact:contributor.readcontact:employee.readcontact:supplier.readcontact.read
Request
Path parameters
-
organizationIdidrequired -
mandateIdidrequired -
assemblyIdidrequired
Body
Content-Type: application/json
-
sortobject of stringThe keys to sort by, each with its direction. Sorting lists every key.
ascdesc -
limitinteger0–500 · default
50 -
offsetintegerat least 0 · default
0 -
returnCountbooleandefault
false -
searchTermstring -
rolesstring[]voterguest -
presencestringpresentabsent -
sourcesstring[]registeraddedexternal -
groupsstring[] -
accessstringapplinkOpenedlinkSentnone -
proxystringholdsgave -
removedbooleandefault
false
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'const response = await fetch("https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/misc/assemblies/YOUR_ASSEMBLY_ID/participants/list", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY"
},
redirect: 'error',
signal: AbortSignal.timeout(30_000),
});
if (!response.ok) throw new Error(`campai HTTP ${response.status}`);
const text = await response.text();
const result = text ? JSON.parse(text) : null;
console.log(JSON.stringify(result, null, 2));<?php
$context = stream_context_create(['http' => [
'method' => 'POST',
'header' => [
'X-API-Key: YOUR_API_KEY',
],
'timeout' => 30,
'follow_location' => 0,
'ignore_errors' => true,
]]);
$text = @file_get_contents('https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/misc/assemblies/YOUR_ASSEMBLY_ID/participants/list', false, $context);
preg_match('/^HTTP\/\S+ (\d{3})/', $http_response_header[0] ?? '', $match);
$status = (int) ($match[1] ?? 0);
if ($text === false || $status < 200 || $status >= 300) {
throw new RuntimeException("campai HTTP $status (0 means no response)");
}
$result = $text === '' ? null : json_decode($text, true, 512, JSON_THROW_ON_ERROR);
echo json_encode($result, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR), PHP_EOL;
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
-
countintegerat least 0
-
participantsobject[]27 properties
-
_idid -
createdAtstring · date-timenullable -
updatedAtstring · date-timenullable -
removedAtstring · date-timenullable -
createdByobjectnullable -
updatedByobjectnullable -
removedByobjectnullable -
__ignoreTriggersstringnullable -
organizationid -
assemblyid -
personobject7 properties
-
namestring -
typestring -
nameNormalizedstring -
nameSortstring -
contactidnullable -
imageobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
userobjectnullable4 properties
-
namestring -
typestring -
userIdstring -
imageobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
-
-
contactInfoobject2 properties
-
emailstringnullableat most 200 characters
-
phonestringnullableat most 40 characters
-
-
representsobjectnullable7 properties
-
namestring -
typestring -
nameNormalizedstring -
nameSortstring -
contactidnullable -
imageobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
userobjectnullable4 properties
-
namestring -
typestring -
userIdstring -
imageobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
-
-
authorizationobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
sourcestringregisteraddedexternal -
rolestringvoterguest -
groupstringnullableat most 60 characters
-
weightnumberat most 100000
-
proxyobjectnullable6 properties
-
holderid -
documentobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
statementstringnullableat most 1000 characters
-
sourcestringstaffself -
grantedAtstring · date-time -
grantedByobjectnullable
-
-
presenceobject4 properties
-
presentboolean -
modestringnullableroomonline -
sincestring · date-timenullable -
sourcestringnullablestaffselfqrdesk
-
-
invitationobject3 properties
-
dispatchidnullable -
channelstringnullableemailletterapp -
sentAtstring · date-timenullable
-
-
removalobjectnullable3 properties
-
atstring · date-time -
byobject -
reasonstringat most 240 characters
-
-
accessobject3 properties
-
linkboolean -
sentAtstring · date-timenullable -
lastSeenAtstring · date-timenullable
-
-
appboolean -
contactNumberstringnullable -
proxyHolderobjectnullable2 properties
-
_idid -
personobject7 properties
-
namestring -
typestring -
nameNormalizedstring -
nameSortstring -
contactidnullable -
imageobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
userobjectnullable4 properties
-
namestring -
typestring -
userIdstring -
imageobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
-
-
-
heldProxiesobject[]2 properties
-
_idid -
personobject7 properties
-
namestring -
typestring -
nameNormalizedstring -
nameSortstring -
contactidnullable -
imageobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
userobjectnullable4 properties
-
namestring -
typestring -
userIdstring -
imageobjectnullable4 properties
-
resourcestringat least 1 characters
-
fileNamestringat most 128 characters
-
contentTypestringat most 75 characters
-
fileSizeBytesintegerat least 0
-
-
-
-
-
-
searchLimitedboolean -
searchTotalnumbernullable
{
"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.