WhichDateWorks

v1.0.0
com.whichdateworks/whichdateworks Checked 4 days ago Published 17 days ago

Group 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…

ParameterTypeDescription
title *stringWhat the event is, e.g. "Dinner with Sam and Alex".
datesarrayAll-day options as YYYY-MM-DD calendar days, up to 100. Use this or `times`, not both.
descriptionstringMore detail for the guests.
durationintegerDefault length of each time slot in minutes. Defaults to 60.
locationstringWhere it happens, as free text.
organizerNamestringThe user's first name, if you know it. The poll shows it as the host.
timeZonestringIANA 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.
timesarrayTime 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.

ParameterTypeDescription
inviteUrlstringThe poll's invite link, if you don't have its id.
manageUrlstringThe poll's manageUrl, if that's the link you have. Gives the organizer's view: every name and count, even ones hidden from guests.
pollIdstringThe 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.

ParameterTypeDescription
manageUrl *stringThe poll's manageUrl from create_poll (https://app.whichdateworks.com/claim/…), or the token at its end. The invite link won't work here.
datesarrayAll-day options to add, as YYYY-MM-DD, for a poll of dates. The poll can have up to 100 options in all.
durationintegerDefault length of each time slot in minutes. Defaults to 60.
timeZonestringIANA time zone the times are in. Defaults to the poll's own time zone.
timesarrayTime 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.

ParameterTypeDescription
manageUrl *stringThe poll's manageUrl from create_poll (https://app.whichdateworks.com/claim/…), or the token at its end. The invite link won't work here.