Tap2Cal
v1.1.0Turn events into shareable add-to-calendar links for Google, Apple and Outlook, with RSVPs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_event Create a calendar link
Creates a public page for an event with a shareable link. Anyone who opens the link can save the event to Google Calendar, Apple Calendar, Outlook or any other calendar. Returns the event with its link in url. Anyone with the link can see the event details, and the event is deleted 90 days after it ends.
| Parameter | Type | Description |
|---|---|---|
name * | string | Event name, up to 120 characters |
startDate * | string | Start date as YYYY-MM-DD |
timeZone * | string | IANA time zone, e.g. Europe/Vienna |
accentColor | string | Button color as #rrggbb |
backgroundColor | string | Page background color as #rrggbb |
description | string | Description, up to 1000 characters |
endDate | string | End date as YYYY-MM-DD, defaults to the start date |
endTime | string | End time as HH:MM, required with a start time |
lang | string | Language of the link preview |
link | string | Related https link, e.g. tickets |
location | string | Location, up to 200 characters |
rsvpEnabled | boolean | Let guests accept or decline with their name |
slug | string | Own link, e.g. summer-party for tap2cal.com/summer-party. At least 3 characters. Leave out for a link made from the name |
startTime | string | Start time as HH:MM. Leave out for an all-day event |
subtitle | string | Short subtitle, up to 160 characters |
list_my_events List my calendar links
Lists the events of this Tap2Cal account with their links, page views, calendar button clicks and RSVP counts, newest start date first.
get_event Show a calendar link
Returns one event with all its details, its current link, earlier links that still work, page views, calendar button clicks and RSVP counts.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
update_event Change a calendar link
Changes an event. Only the fields you pass change. Moving the start date without an end date keeps the length of the event. Passing slug changes the link; the earlier link keeps working until it is disabled with disable_old_link.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
accentColor | string | null | Button color as #rrggbb. Pass null or an empty string to remove it |
backgroundColor | string | null | Page background color as #rrggbb. Pass null or an empty string to remove it |
description | string | null | Description, up to 1000 characters. Pass null or an empty string to remove it |
endDate | string | End date as YYYY-MM-DD |
endTime | string | null | End time as HH:MM, required with a start time. Pass null or an empty string to remove it |
lang | string | Language of the link preview |
link | string | null | Related https link, e.g. tickets. Pass null or an empty string to remove it |
location | string | null | Location, up to 200 characters. Pass null or an empty string to remove it |
name | string | Event name, up to 120 characters |
rsvpEnabled | boolean | Let guests accept or decline with their name |
slug | string | New link, e.g. summer-party for tap2cal.com/summer-party. At least 3 characters, up to 5 new links per event |
startDate | string | Start date as YYYY-MM-DD |
startTime | string | null | Start time as HH:MM. Removing it makes the event all-day. Pass null or an empty string to remove it |
subtitle | string | null | Short subtitle, up to 160 characters. Pass null or an empty string to remove it |
timeZone | string | IANA time zone, e.g. Europe/Vienna |
disable_old_link Disable an earlier link
Disables an earlier link of an event, so it shows that the link is no longer valid. The current link can't be disabled. Choosing the link again with update_event turns it back on.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
link * | string | The earlier link to disable, e.g. summer-party-x7k2 or its full URL |
list_rsvps List RSVPs
Lists the guests who accepted or declined an event, with the number of people each guest brings along, the id of each answer and whether the host added or changed it.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
add_rsvp Add an RSVP
Adds an answer the host got another way, for example a reply in a chat. It is marked as added by the host and counts like a guest's own answer.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
name * | string | The guest's name |
status * | string | yes if the guest comes, no if not |
guests | integer | People the guest brings along who weren't invited themselves (only for yes) |
update_rsvp Correct an RSVP
Corrects an answer, for example when both partners of a couple answered and each brought the other as a guest. Get the id from list_rsvps. Only the fields you pass change. If the guest answers again later, their new answer counts.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
rsvpId * | string | The id of the answer from list_rsvps |
guests | integer | People the guest brings along who weren't invited themselves (only for yes) |
name | string | The guest's name |
status | string | yes if the guest comes, no if not |
delete_rsvp Delete an RSVP
Removes an answer from the list and the counts, for example a duplicate. Get the id from list_rsvps.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
rsvpId * | string | The id of the answer from list_rsvps |
set_flyer Add a flyer
Adds or replaces the flyer of an event. It is shown on the event page and in link previews. Pass a file on this computer or an image URL, JPEG, PNG or WebP up to 8 MB. Images are checked automatically before they are published.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
imagePath | string | Path of an image file on this computer |
imageUrl | string | URL of an image to download |
remove_flyer Remove the flyer
Removes the flyer of an event. The page and link preview go back to the design without image.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |
delete_event Delete a calendar link
Deletes an event with its page, all its links, its flyer and its RSVPs. The links stop working right away. This can't be undone.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event: its id, any of its links or the full URL |