Skip to content
campaiDeveloper
campai.com

Misc · Assemblies

POST/{organizationId}/{mandateId}/misc/assemblies/{assemblyId}/participants/addExternal

Add external participant

Adds a person without a contact to the register of a meeting, such as the representative of a corporate member or a delegate, with an email address or phone number to reach them.

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

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • assemblyIdidrequired

Body

Content-Type: application/json

  • namestringrequired

    1–200 characters

  • emailstringnullable

    at most 200 characters

  • phonestringnullable

    at most 40 characters

  • rolestringrequired
    voter guest
  • representsidnullable
  • authorizationobjectnullable
    2 properties
    • fileNamestring

      at most 128 characters

    • resourcestringrequired
  • groupstringnullable

    at most 60 characters

  • weightnumber

    at most 100000 · default 1

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/addExternal' \
  --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

  • _idid
Response200
{
  "_id": "000000000000000000000001"
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.