Skip to content
campaiDeveloper
campai.com

Misc · Assemblies

POST/{organizationId}/{mandateId}/misc/assemblies/{assemblyId}/presence/checkInByCode

Check in by code

Checks a person in at the entrance of a meeting by the QR code of their meeting page in the Community-App or on their personal link page.

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
  • assemblyConduct.edit
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

  • codestringrequired

    at most 100 characters

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/presence/checkInByCode' \
  --header 'X-API-Key: YOUR_API_KEY'

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

Response

200 Successful response

Content-Type: application/json

  • participantobject
    6 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

    • rolestring
      voter guest
    • weightnumber

      at most 100000

    • groupstringnullable

      at most 60 characters

    • presenceobject
      4 properties
      • presentboolean
      • modestringnullable
        room online
      • sincestring · date-timenullable
      • sourcestringnullable
        staff self qr desk
  • alreadyPresentboolean
Response200
{
  "participant": {
    "_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"
        }
      }
    },
    "role": "voter",
    "weight": 1,
    "group": "string",
    "presence": {
      "present": true,
      "mode": "room",
      "since": "2026-06-15T22:30:00Z",
      "source": "staff"
    }
  },
  "alreadyPresent": true
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.