WhichDateWorks
v1.0.0Group date polls: plan with friends, family or co-workers and find a date that works for everyone.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_poll Create a group poll
Make plans with friends, family, co-workers or any group: create a poll of candidate dates or times, and everyone marks which ones work for them, so the group can find a date or time that works for everyone. For example a dinner, a trip, game night, a team lunch, an offsite or a meeting. Use when the user is planning something with other people and hasn't settled on a date. Returns a link to share with the group and a private link for the organizer. Pass either `dates` (all-day options) or `times` (time slots with the user's `timeZone`), all in the future. Pass `organizerName` (the user's firs…
| Parameter | Type | Description |
|---|---|---|
title * | string | What the event is, e.g. "Dinner with Sam and Alex". |
dates | array | All-day options as YYYY-MM-DD calendar days, up to 100. Use this or `times`, not both. |
description | string | More detail for the guests. |
duration | integer | Default length of each time slot in minutes. Defaults to 60. |
location | string | Where it happens, as free text. |
organizerName | string | The user's first name, if you know it. The poll shows it as the host. |
timeZone | string | IANA time zone the times are in, usually the user's, like "America/New_York". Required with `times` unless every time has an offset. Each participant sees the times in their own zone. |
times | array | Time slot options, up to 100. Use this or `dates`, not both. |
get_poll_results Get poll results
See how people voted on a WhichDateWorks poll and which option is winning. Pass the poll's id or its invite link to see what the public poll page shows: if the organizer hid scores or participant names, they stay hidden. Pass its manageUrl instead to get the organizer's view, with every name and count. Don't share hidden names with people other than the organizer.
| Parameter | Type | Description |
|---|---|---|
inviteUrl | string | The poll's invite link, if you don't have its id. |
manageUrl | string | The poll's manageUrl, if that's the link you have. Gives the organizer's view: every name and count, even ones hidden from guests. |
pollId | string | The poll's id from create_poll. |
add_options Add dates or times to a poll
Add more candidate dates or times to a WhichDateWorks poll the user organizes, for example when the group asks for another weekend. Pass the poll's manageUrl from create_poll, and `dates` for a poll of all-day dates or `times` for a poll of time slots, all in the future. Options the poll already has are skipped. Everyone who already voted keeps their votes and can vote on the new options.
| Parameter | Type | Description |
|---|---|---|
manageUrl * | string | The poll's manageUrl from create_poll (https://app.whichdateworks.com/claim/…), or the token at its end. The invite link won't work here. |
dates | array | All-day options to add, as YYYY-MM-DD, for a poll of dates. The poll can have up to 100 options in all. |
duration | integer | Default length of each time slot in minutes. Defaults to 60. |
timeZone | string | IANA time zone the times are in. Defaults to the poll's own time zone. |
times | array | Time slots to add, for a poll of times. The poll can have up to 100 options in all. |
close_poll Close a poll to votes
Stop the voting on a WhichDateWorks poll the user organizes, for example once everyone has answered. Pass the poll's manageUrl from create_poll. Returns the leading option so you can tell the user. Picking the final date and notifying everyone happens on the website: the organizer opens manageUrl and signs in.
| Parameter | Type | Description |
|---|---|---|
manageUrl * | string | The poll's manageUrl from create_poll (https://app.whichdateworks.com/claim/…), or the token at its end. The invite link won't work here. |