# Calendar API

# Generate

Generate URL for various providers to an event to the calendar.

Example

This is a live editor! Play for yourself with the configurations and check the generated URLs.

title
description
location
start
end
duration
allDay
Generated URLs:

API Base URL

https://api.abracadalo.com/calendar/generate
Copy

Parameters

Name Type Description Required
title String Event title. No
description String Event description. No
location String Location (can be everything, e.g. an address or even coordinates). No
start ISO 8601 (opens new window) or Unix timestamp (opens new window) Start date with time. No
end ISO 8601 (opens new window) or Unix timestamp (opens new window) End date with time. Field is ignored if duration or allDay are set! No
duration Number Duration of the event in minutes (as alternate to setting end). No
allDay BoolString If set to "true", the event is set for the entire day. No

TIP

It rarely happens that the function actually errors, as input values are interpreted and the function tries its best to generate something that makes sense. We recommend to check for yourself how your input translates in a Google calendar, for example.

Also note, that your date in start and end is always set for a specific timezone.

Outputs

Name Type Description
google String Google calendar URL
outlook String Outlook calendar URL
yahoo String Yahoo! calendar URL
office365 String Office365 calendar link
ics_data String Raw ICS file data*

* You can use this on iOS devices to create a URL that creates the event in the native/iCloud calendar.

Last Updated: 3/12/2022, 12:26:02 PM