Votes (v2)

Open a draft

Shares the caller's unshared draft (the Share step): the vote takes ballots from now and the document carries the share link and the analytics events for the client to send.

post/api/v2/votes/{code}/open

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v2/votes/{code}/open
  • Auth: HTTP bearer

Response

codestring
statestring
share_urlstring

Example response

{
  "code": "7Q2K-9M4N",
  "state": "open",
  "share_url": "https://endlesstravelplans.com/vote/join/7Q2K9M4N",
  "events": [
    {
      "name": "vote.shared",
      "properties": {
        "tool": "vote_tool"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.