Calendars

Generate Signed URL

Generate a signed URL for a protected calendar. The URL includes an expiry timestamp and a cryptographic signature, and expires after the specified number of days.

The calendar must have an access code set. If no expiry_days is provided, the calendar's configured signed_url_expiry_days is used, or 30 days as a default.

The returned URL grants temporary access based on its signature validity, without exposing the access code. It can be shared with users who need time-limited access.

post/api/calendars/{calendar_public_id}/signed-url

Request

  • Base URL: https://addcal.co
  • URL: https://addcal.co/api/calendars/{calendar_public_id}/signed-url
  • Auth: none required

Request body

expiry_daysinteger

Number of days until the signed URL expires. Min 1, max 365.

Example request

{
  "expiry_days": 30
}

Response

urlstring required

The generated signed URL with expiry and signature-based access

Example response

{
  "url": "https://addcal.co/c/cal_abc123?expires=1741000000&signature=abc..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.