AddEvent has launched its new platform: AddEvent 2.0 → Learn more
This tool is a link with customizable parameters that can be used to create an event on-the-fly, or send your users to their calendar service where they can add your event, or attach your event to an email you send to your users.
The API requires an API token to work.
Please sign in or
create an account to receive your
accounts API tokens.
Link that directs users to an event page where they can view event details and add the event to their calendar.
<a href="https://www.addevent.com/dir/?client=CLIENT&start=start&end=end&title=title&timezone=timezone">Add to Calendar</a>
<a href="https://www.addevent.com/dir/?client=USER-CLIENT-ID&start=12%2F03%2F2025+09%3A00+AM&end=12%2F03%2F2025+11%3A00+AM&title=Title+of+the+event&description=Description+of+the+event&location=1600+Amphitheatre+Pkwy%2C+Mountain+View%2C+CA+94043&timezone=America%2FLos_Angeles">Add to Calendar</a>
Link directly to a calendar service
Multiple links that take users directly to their chosen calendar service, where they can add the event to their calendar.
Add to Calendar:
<a href="https://www.addevent.com/dir/?client=CLIENT&start=start&end=end&title=title&timezone=timezone&service=service">Link Text</a>
Add to Calendar:
<a href="https://www.addevent.com/dir/?client=USER-CLIENT-ID&start=12%2F03%2F2025+09%3A00+AM&end=12%2F03%2F2025+11%3A00+AM&title=Title+of+the+event&description=Description+of+the+event&location=1600+Amphitheatre+Pkwy%2C+Mountain+View%2C+CA+94043&timezone=America%2FLos_Angeles&service=apple">Apple</a>
<a href="https://www.addevent.com/dir/?client=USER-CLIENT-ID&start=12%2F03%2F2025+09%3A00+AM&end=12%2F03%2F2025+11%3A00+AM&title=Title+of+the+event&description=Description+of+the+event&location=1600+Amphitheatre+Pkwy%2C+Mountain+View%2C+CA+94043&timezone=America%2FLos_Angeles&service=google">Google</a>
<a href="https://www.addevent.com/dir/?client=USER-CLIENT-ID&start=12%2F03%2F2025+09%3A00+AM&end=12%2F03%2F2025+11%3A00+AM&title=Title+of+the+event&description=Description+of+the+event&location=1600+Amphitheatre+Pkwy%2C+Mountain+View%2C+CA+94043&timezone=America%2FLos_Angeles&service=office365">Office 365</a>
<a href="https://www.addevent.com/dir/?client=USER-CLIENT-ID&start=12%2F03%2F2025+09%3A00+AM&end=12%2F03%2F2025+11%3A00+AM&title=Title+of+the+event&description=Description+of+the+event&location=1600+Amphitheatre+Pkwy%2C+Mountain+View%2C+CA+94043&timezone=America%2FLos_Angeles&service=outlook">Outlook</a>
<a href="https://www.addevent.com/dir/?client=USER-CLIENT-ID&start=12%2F03%2F2025+09%3A00+AM&end=12%2F03%2F2025+11%3A00+AM&title=Title+of+the+event&description=Description+of+the+event&location=1600+Amphitheatre+Pkwy%2C+Mountain+View%2C+CA+94043&timezone=America%2FLos_Angeles&service=outlookcom">Outlook.com</a>
<a href="https://www.addevent.com/dir/?client=USER-CLIENT-ID&start=12%2F03%2F2025+09%3A00+AM&end=12%2F03%2F2025+11%3A00+AM&title=Title+of+the+event&description=Description+of+the+event&location=1600+Amphitheatre+Pkwy%2C+Mountain+View%2C+CA+94043&timezone=America%2FLos_Angeles&service=yahoo">Yahoo</a>
Link to download or attach an .ics file
Link that downloads an .ics file. If you send emails using a Mail API or your own code you can attach an event file in an email. In the example you'll find an example on how to attach an event using the Mandrill Mail API. The same technique can be applied to almost any other service used for sending out emails.
https://www.addevent.com/dir/?client=CLIENT&start=start&end=end&title=title&description=description&timezone=timezone&service=stream
// Get event file for attachment
$attachment = file_get_contents('https://www.addevent.com/dir/?
client=USER-CLIENT-ID&start=12%2F03%2F2025+09%3A00+AM&
end=12%2F03%2F2025+11%3A00+AM&title=Title+of+the+event&
description=Description+of+the+event&timezone=America%2FLos_Angeles&
service=stream');
// Event file: Base 64 encode the event file
$attachment_encoded = base64_encode($attachment);
// Set message object
$compose = array(
'html' => 'Email content',
'subject' => 'Email subject',
'from_email' => 'from@example.com',
'to' => array(
array(
'email' => 'to@example.com'
)
),
'attachments' => array(
array(
'content' => $attachment_encoded,
'type' => 'text/calendar',
'name' => 'event.ics',
)
)
);
// Send the email
$response = $mandrill->messages->send($compose);