Generate iCal API
ApyHub
50 atoms
Base tier
About
This API lets you generate and manage iCal calendar events that can be used across calendar applications and platforms. The iCal API can be used to perform actions on a particular calendar or a list of calendars.
This API generates calendars in the iCalendar format (RFC 5545), which is a textual format that can be loaded by different applications. The API lets you create single or recurring events and supports all time zones. Using the ApyHub iCal API, you can make changes to an existing calendar or add/delete calendars. The API creates a .ics file that you can use to add the event to Google Calendar, Microsoft Outlook, Apple iPhone, and other Calendars.
Try out the API in the API playground and see how the free iCal generator API can help you organize scheduling and calendar features in your application through a simple API call.
Select API Endpoints
Output
API Playground
This API endpoint does not have a playground yet. Please check back later.
API Documentation
download file
POST
https://api.apyhub.com/generate/ical/file
Request example
Method:
POST
Content Type:
application/json
Query Parameter(s)
Attribute | Type | Mandatory | Description |
---|---|---|---|
output | String | No | The name for the generated ics file |
Request Body
Parameter | Type | Mandatory | Description |
---|---|---|---|
id | String | No | a unique identifier for the event (e.g UUID). By default a UUID is created, if the id is not passed. If you pass the id then you can create an event using that ID and update the event by passing the same id , in case the event needs to be rescheduled or if any changes needed to be made. |
summary | String | No | The summary or title of the calendar event. |
description | String | Yes | The description of the calendar event. |
organizer_email | String | Yes | The email of the organizer of the event. |
attendees_emails | String Array | Yes | The emails of the event attendees. |
location | String | No | The location of the event. |
time_zone | String | Yes | Timezone for the event, use the timezone dictionary for this |
start_time | String | Yes | The start time of the event. |
end_time | String | Yes | The end time of the event. |
meeting_date | String | Yes | The date of the event. |
recurring | Boolean | No | Indicates if the meeting is a recurring meeting. The default value is false. If set to true, then you must provide the recurrence information. |
recurrence.frequency | ENUM | Yes (if recurring is true) | This is required only for recurring meetings. DAILY / WEEKLY / MONTHLY / YEARLY |
recurrence.count | Integer | No | The number of times this event should recur |
HTTP Response Codes
The method may return one of the following HTTP status codes:
Status Code | Description |
---|---|
200 | The request was successful. |
401 | Required authentication information is either missing or not valid for the resource. |
400 | Invalid input or missing inputs |
500 | If any unexpected error occurs while processing the request |
Authentication
All API requests to ApyHub services need to be authenticated. Currently we support
tokens
or basic authentication
mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".Points to note:
- Credential secrets are generated on the fly and are not stored in plain text, so on generating a credential please save the secrets somewhere safe.
- Use the
apy-token
as the header parameter to pass the token. - Use the
Authorization
header to send the basic authentication credentials.
Error codes
To search for a specific error code, enter the code in the search box below. Alternatively, you can click on the button to view a complete list of all error codes.
Table of contents