Misc · Assemblies
Get participant
Returns one person of the register of a meeting with their presence, access, proxies and the log of their check-ins and check-outs.
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 -
participantIdidrequired
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
--request GET 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/misc/assemblies/YOUR_ASSEMBLY_ID/participants/YOUR_PARTICIPANT_ID' \
--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/YOUR_PARTICIPANT_ID", {
method: "GET",
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' => 'GET',
'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/YOUR_PARTICIPANT_ID', 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;
Response
200 Successful response
Content-Type: application/json
-
participantobject27 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
-
-
-
-
-
-
presenceLogobject[]16 properties
-
_idid -
createdAtstring · date-timenullable -
updatedAtstring · date-timenullable -
removedAtstring · date-timenullable -
createdByobjectnullable -
updatedByobjectnullable -
removedByobjectnullable -
__ignoreTriggersstringnullable -
organizationid -
assemblyid -
participantid -
atstring · date-time -
presentboolean -
modestringnullableroomonline -
sourcestringstaffselfqrdesk -
byobjectnullable
-
{
"participant": {
"_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"
}
}
}
}
]
},
"presenceLog": [
{
"_id": "000000000000000000000001",
"organization": "000000000000000000000001",
"assembly": "000000000000000000000001",
"participant": "000000000000000000000001",
"at": "2026-06-15T22:30:00Z",
"present": true,
"mode": "room",
"source": "staff",
"by": {
"name": "string",
"type": "user",
"userId": "string",
"image": {
"resource": "string"
}
}
}
]
}
Errors
No errors of its own are known for this endpoint.
Errors nearly every request can meet are listed under Errors.