OpenApps When

For AI assistants

Your assistant can find the time.

When has a public API with no key and no account. An assistant can make a poll from the times you mention, send you the link for the group, read the answers and comments, and tell you which time most people can make.

Try it

These calls make a poll, answer it, read the best time and pick it. The example dates are in the future as of 6 November 2026; use your own.

# Make a poll
curl -X POST https://functions.openapps.xyz/apps/3e1cb86700a5e96238d7a2f1/api/polls \
  -H 'content-type: application/json' \
  -d '{"title": "Team lunch", "timezone": "America/New_York",
       "options": ["2028-06-21T12:00", "2028-06-22T12:00",
                   {"date": "2028-06-23", "allDay": true}]}'

# Answer it
curl -X POST https://functions.openapps.xyz/apps/3e1cb86700a5e96238d7a2f1/api/polls/POLL_ID/votes \
  -H 'content-type: application/json' \
  -d '{"name": "Sam", "answers": {"2028-06-21T12:00": "yes",
       "2028-06-22T12:00": "maybe"}}'

# See the best time
curl https://functions.openapps.xyz/apps/3e1cb86700a5e96238d7a2f1/api/polls/POLL_ID

# Pick it (owner key from the first call)
curl -X POST https://functions.openapps.xyz/apps/3e1cb86700a5e96238d7a2f1/api/polls/POLL_ID/choose \
  -H 'content-type: application/json' -H 'x-owner-key: OWNER_KEY' \
  -d '{"optionId": "OPTION_ID"}'

Good to know

The full reference

Every call, field and error is described in llms.txt (plain text for assistants) and openapi.json (OpenAPI). The same page as markdown is index.md.

Back to When