Skip to content
campaiDeveloper
campai.com

Misc · Assemblies

POST/{organizationId}/{mandateId}/misc/assemblies

Create meeting

Creates a general meeting, a delegates meeting, a board meeting or a written resolution as a draft, with the organization's default settings. Nobody is invited until the invitation is sent.

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

Body

Content-Type: application/json

  • kindstringrequired
    general delegates board written
  • titlestringrequired

    1–120 characters

  • formatstring

    default "inPerson"

    inPerson hybrid online written
  • timezonestringnullable

    at least 1 characters

  • periodobjectnullable
    2 properties
    • startstring · date-timerequired
    • endstring · date-timerequirednullable
  • votingPeriodobjectnullable
    2 properties
    • opensAtstring · date-timerequired
    • closesAtstring · date-timerequired
  • placeobjectnullable
    5 properties
    • typestringrequired
      resource address online
    • resourceobject
      6 properties
      • siteidrequired
      • siteNamestringrequired

        at least 1 characters

      • siteAddressobjectrequired
        7 properties
        • countrystringrequired
        • statestring
        • zipstringrequired

          at most 10 characters

        • citystringrequired

          at most 45 characters

        • addressLinestringrequired

          at most 45 characters

        • details1string

          at most 45 characters

        • details2string

          at most 45 characters

      • resourceidrequired
      • resourceNamestringrequired
      • quantityinteger

        default 1

    • addressobject
      7 properties
      • countrystringrequired
      • statestring
      • zipstringrequired

        at most 10 characters

      • citystringrequired

        at most 45 characters

      • addressLinestringrequired

        at most 45 characters

      • details1string

        at most 45 characters

      • details2string

        at most 45 characters

    • locationobjectnullable
      2 properties
      • latitudenumberrequired

        -90–90

      • longitudenumberrequired

        -180–180

    • onlineobject
      2 properties
      • urlstring · urirequired

        at most 300 characters

      • instructionsstringrequired

        at most 400 characters

  • onlineUrlstring · urinullable

    at most 300 characters

  • onlineBasisstringnullable

    at most 500 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' \
  --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.