How can we help you?

FeraCal Developer Guide

Topic: API Versions: Applies to all documented versions Current

Use this guide to connect to FeraCal, make a read-only REST request, and explore calendars, events, availability, and CalDAV. Open Developer Studio to inspect requests and responses as you work.

Connect a FeraCal workspace

  1. Use an active FeraCal workspace and an account authorized to access it. An active Free workspace can make authenticated REST requests and connect over CalDAV.
  2. In Developer Studio, open Getting started and enter your FeraCal product instance UUID and authorized sign-in credentials. You can also open Studio from the workspace link in Feradel Licensing.
  3. For direct REST calls from your application, use a FeraAuth JWT in the x-auth-token header and your FeraCal product instance UUID in the instance header.

The token and your calendar role determine which operations you can run. The API authentication reference describes the request headers.

Make a read-only REST request

List the UUIDs of calendars with public sharing enabled inside your instance. The request requires VIEW.CALENDAR. Set the two shell variables from your own authorized workspace before running the example.

curl --fail-with-body \
  --header "x-auth-token: ${FERA_AUTH_TOKEN}" \
  --header "instance: ${FERACAL_INSTANCE_UUID}" \
  https://api.calendar.feradel.com/api/v1/calendars/public

The response contains an items array. Each item contains a calendar uuid. An empty array means public sharing is disabled on every calendar in the instance. To filter by effective access, use the endpoint to list the calendars a user can access.

Build a scheduling workflow

  1. Create a calendar with POST /api/v1/calendars. Save the returned UUID for sharing and event requests.
  2. Assign a viewer, editor, or admin membership role. Calendar ownership and effective access are resolved separately.
  3. Query people or resource availability for the proposed time interval. Use the returned availability to choose whom or what to associate with the event.
  4. Create the event with POST /api/v1/events using an authorized creator and a calendar you can edit. Associate attendees or resources in a separate POST /api/v1/events/invite request.

Use ISO 8601 timestamps with an explicit offset. Event queries return records whose stored time ranges overlap the requested interval. REST stores recurrence rules as metadata. Expand occurrences in your application when needed.

In Developer Studio, the guided workflow creates sample records in the connected workspace. Use a test workspace for those writes. The REST API explorer shows request fields and responses and can generate JavaScript and cURL examples.

Check scheduling features by plan

Active workspace members can use tasks and reminders on Free. Booking pages require Starter or higher and calendar edit access. Automation rules start on Complete and require calendar edit access when you create them. See FeraCal plans and usage limits for the current allowances.

Connect a CalDAV client

Set your client’s discovery URL to this address.

https://caldav.feradel.com/caldav/

The server redirects /.well-known/caldav to the discovery URL. At the discovery root, use HTTP Basic with a username in the form instanceUuid|email and the password for the authorized CalDAV account. In Developer Studio, enter the CalDAV credentials in the CalDAV laboratory.

  • Use PROPFIND to discover calendars and REPORT to query events. Successful discovery returns a 207 Multi-Status XML response.
  • Use If-None-Match: * when creating a new iCalendar resource. For edits or deletes, read the event first and send its ETag in If-Match. If the server returns 412, retrieve the current resource before retrying.
  • For sync-collection, send an empty sync token for a snapshot. A current token returns an empty result. If you receive 403 with valid-sync-token, request a fresh snapshot with an empty token.

See the CalDAV overview for discovery, iCalendar, and authorization details.

Reference and source