---
title: Generate iCal API
slug: generate-ical-event
url: https://apyhub.com/apyhub/service/generate-ical-event
provider: ApyHub
categories: [Developer Tools, Standard Data]
tags: [events, ical]
auth: api_key
---

# Generate iCal API

Generate downloadable .ics files or signed links from event details, with reminders, recurrence, all-day events, and time zone support.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/generate/ical/file` | What it does Generates an iCal event file for the provided event details and returns it as a binary… | 50 |
| POST | `/generate/ical/url` | What it does Generates an iCal event file and returns a signed cloud URL to download the resulting… | 50 |

## About

## What it does
Calendar Event Generator creates iCal files from event details you send in JSON. You can generate a downloadable .ics file or a pre-signed cloud link to the generated file.

Send the event fields supported by the API: `summary`, `meeting_date`, `start_time`, `end_time`, `location`, `description`, `time_zone`, `organizer_email`, `attendees_emails`, `reminders`, `recurrence`, `all_day`, `recurring`, `sequence`, and `id`. For cancellation flows, set `event_type` to `cancel` on the download endpoint to produce a VCALENDAR with `METHOD:CANCEL`.

Use it when your app needs to hand off calendar invites after booking meetings, scheduling demos, or creating team reminders. It supports all-day events, recurring events, reminder rules, and time zone-aware scheduling, so you can generate invites that fit common calendar clients without building iCal serialization yourself.

If you need the file immediately, use the download endpoint. If you want a hosted asset instead, use the link endpoint and return the signed `.ics` URL in your workflow.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/generate-ical-event
