> ## Documentation Index
> Fetch the complete documentation index at: https://collabase.ch/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Open poll

> Open a draft poll for voting in a planned or running meeting; its question and answers are fixed from then on.

Opens a draft for voting. The meeting must be planned or running, and if the poll has a deadline, it
must still lie ahead. From now on its question, answers and anonymity are fixed.

<Info>
  Scope `meetings:write`. Organizers and co-organizers, and participants too when the meeting lets them
  record outcomes. No request body.
</Info>

## Path parameters

<ParamField path="meetingId" type="string" required>The meeting.</ParamField>
<ParamField path="pollId" type="string" required>The draft poll.</ParamField>

## Response

<ResponseField name="data" type="object" required>
  <Expandable title="properties">
    <ResponseField name="id" type="string" required>The opened poll.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={"dark"}
  curl -X POST "https://your-collabase.ch/api/v1/meetings/cm2meet0001abcd/polls/cm8poll0001/open" \
    -H "Authorization: Bearer clb_xYz123ABCD..."
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"dark"}
  { "data": { "id": "cm8poll0001" } }
  ```

  ```json 400 theme={"dark"}
  { "error": { "code": "VALIDATION_ERROR", "message": "The deadline must lie in the future" } }
  ```

  ```json 409 theme={"dark"}
  { "error": { "code": "CONFLICT", "message": "Only a draft poll can be opened" } }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.