Skip to content
campaiDeveloper
campai.com

Misc · Assemblies

POST/{organizationId}/{mandateId}/misc/assemblies/{assemblyId}/rounds/start

Start round

Opens a round of a meeting for voting. Who is entitled and the quorum are recorded, and voters are told in the Community-App. When a warning was not confirmed, nothing starts and the warnings are returned. The first round opens an invited meeting.

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

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • assemblyIdidrequired

Body

Content-Type: application/json

  • roundIdidrequired
  • acceptWarningsstring[]required

    at most 6 items

    notInInvitation quorumMissing fewEntitled fewOnline noEntitled late
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/rounds/start' \
  --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

  • startedboolean
  • warningsobject[]
    2 properties
    • kindstring
      notInInvitation quorumMissing fewEntitled fewOnline noEntitled late
    • countintegernullable

      at least 0

  • roundobject
    33 properties
    • _idid
    • createdAtstring · date-timenullable
    • updatedAtstring · date-timenullable
    • removedAtstring · date-timenullable
    • createdByobjectnullable
    • updatedByobjectnullable
    • removedByobjectnullable
    • __ignoreTriggersstringnullable
    • organizationid
    • assemblyid
    • voteid
    • numberinteger

      at least 1

    • titlestring

      1–120 characters

    • kindstring
      secret named paper
    • methodstring
      yesNoAbstain yesNo yes no listYesNoAbstain
    • optionsobject[]

      1–100 items

      3 properties
      • _idid
      • labelstring

        1–200 characters

      • candidateidnullable
    • marksobject
      2 properties
      • mininteger

        at least 0

      • maxinteger

        at least 1

    • generalobject
      2 properties
      • noboolean
      • abstainboolean
    • basestring
      yesNo yesNoAbstain valid cast entitled present none
    • groupsstring[]nullable

      each at most 60 characters

    • closesAtstring · date-timenullable
    • statestring
      created running stopped published annulled
    • startedAtstring · date-timenullable
    • stoppedAtstring · date-timenullable
    • publishedAtstring · date-timenullable
    • annulmentobjectnullable
      3 properties
      • atstring · date-time
      • byobject
      • reasonstring

        at most 500 characters

    • receivedobject
      2 properties
      • countinteger

        at least 0

      • weightnumber

        at least 0

    • entitledobject
      2 properties
      • countinteger

        at least 0

      • weightnumber

        at least 0

    • quorumobject
      2 properties
      • atStartobjectnullable
        3 properties
        • presentobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

        • votersobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

        • metbooleannullable
      • atStopobjectnullable
        3 properties
        • presentobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

        • votersobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

        • metbooleannullable
    • warningsobject[]
      2 properties
      • kindstring
        notInInvitation quorumMissing fewEntitled fewOnline noEntitled late
      • countintegernullable

        at least 0

    • incidentsobject
      2 properties
      • failuresinteger

        at least 0

      • disconnectsinteger

        at least 0

    • resultobjectnullable
      7 properties
      • optionsobject[]
        4 properties
        • optionid
        • yesobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

        • noobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

        • abstainobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

      • generalobject
        2 properties
        • noobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

        • abstainobject
          2 properties
          • countinteger

            at least 0

          • weightnumber

            at least 0

      • validobject
        2 properties
        • countinteger

          at least 0

        • weightnumber

          at least 0

      • invalidobject
        2 properties
        • countinteger

          at least 0

        • weightnumber

          at least 0

      • castobject
        2 properties
        • countinteger

          at least 0

        • weightnumber

          at least 0

      • entitledobject
        2 properties
        • countinteger

          at least 0

        • weightnumber

          at least 0

      • presentobject
        2 properties
        • countinteger

          at least 0

        • weightnumber

          at least 0

    • paperResultobjectnullable
      4 properties
      • optionsobject[]
        4 properties
        • optionid
        • yesinteger

          at least 0

        • nointeger

          at least 0

        • abstaininteger

          at least 0

      • generalobject
        2 properties
        • nointeger

          at least 0

        • abstaininteger

          at least 0

      • validinteger

        at least 0

      • invalidinteger

        at least 0

Response200
{
  "started": true,
  "warnings": [
    {
      "kind": "notInInvitation",
      "count": 0
    }
  ],
  "round": {
    "_id": "000000000000000000000001",
    "organization": "000000000000000000000001",
    "assembly": "000000000000000000000001",
    "vote": "000000000000000000000001",
    "number": 1,
    "title": "string",
    "kind": "secret",
    "method": "yesNoAbstain",
    "options": [
      {
        "_id": "000000000000000000000001",
        "label": "string",
        "candidate": "000000000000000000000001"
      }
    ],
    "marks": {
      "min": 0,
      "max": 1
    },
    "general": {
      "no": true,
      "abstain": true
    },
    "base": "yesNo",
    "groups": [
      "string"
    ],
    "closesAt": "2026-06-15T22:30:00Z",
    "state": "created",
    "startedAt": "2026-06-15T22:30:00Z",
    "stoppedAt": "2026-06-15T22:30:00Z",
    "publishedAt": "2026-06-15T22:30:00Z",
    "annulment": {
      "at": "2026-06-15T22:30:00Z",
      "by": {
        "name": "string",
        "type": "user",
        "userId": "string",
        "image": {
          "resource": "string"
        }
      },
      "reason": "string"
    },
    "received": {
      "count": 0,
      "weight": 0
    },
    "entitled": {
      "count": 0,
      "weight": 0
    },
    "quorum": {
      "atStart": {
        "present": {
          "count": 0,
          "weight": 0
        },
        "voters": {
          "count": 0,
          "weight": 0
        },
        "met": true
      },
      "atStop": {
        "present": {
          "count": 0,
          "weight": 0
        },
        "voters": {
          "count": 0,
          "weight": 0
        },
        "met": true
      }
    },
    "warnings": [
      {
        "kind": "notInInvitation",
        "count": 0
      }
    ],
    "incidents": {
      "failures": 0,
      "disconnects": 0
    },
    "result": {
      "options": [
        {
          "option": "000000000000000000000001",
          "yes": {
            "count": 0,
            "weight": 0
          },
          "no": {
            "count": 0,
            "weight": 0
          },
          "abstain": {
            "count": 0,
            "weight": 0
          }
        }
      ],
      "general": {
        "no": {
          "count": 0,
          "weight": 0
        },
        "abstain": {
          "count": 0,
          "weight": 0
        }
      },
      "valid": {
        "count": 0,
        "weight": 0
      },
      "invalid": {
        "count": 0,
        "weight": 0
      },
      "cast": {
        "count": 0,
        "weight": 0
      },
      "entitled": {
        "count": 0,
        "weight": 0
      },
      "present": {
        "count": 0,
        "weight": 0
      }
    },
    "paperResult": {
      "options": [
        {
          "option": "000000000000000000000001",
          "yes": 0,
          "no": 0,
          "abstain": 0
        }
      ],
      "general": {
        "no": 0,
        "abstain": 0
      },
      "valid": 0,
      "invalid": 0
    }
  }
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.