Skip to main content
GET
/
events
/
{id}
/
calendar.ics
curl -X GET "https://api.tktchurch.com/v1/events/123e4567-e89b-12d3-a456-426614174000/calendar.ics" \
  -H "Accept: text/calendar"
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//TKT Church//Event Calendar//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
UID:123e4567-e89b-12d3-a456-426614174000
DTSTAMP:20240101T000000Z
DTSTART:20240107T100000Z
DTEND:20240107T120000Z
SUMMARY:Sunday Worship Service
DESCRIPTION:Weekly Sunday worship service
LOCATION:Main Sanctuary, 123 Church Street, New York, NY, USA, 10001
STATUS:CONFIRMED
ORGANIZER;CN=TKT Church:mailto:[email protected]
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=SU
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Reminder
TRIGGER:-PT1440M
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Reminder
TRIGGER:-PT60M
END:VALARM
END:VEVENT
END:VCALENDAR

Documentation Index

Fetch the complete documentation index at: https://docs.tktchurch.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required
The unique identifier (UUID) of the event

Response

Returns an ICS file containing the event details in iCalendar format. The response will have:
  • Content-Type: text/calendar; charset=utf-8
  • Content-Disposition: attachment; filename="event.ics"
The ICS file includes:
  • Event title and description
  • Start and end dates
  • Location details
  • Recurrence rules (if applicable)
  • Reminders
  • Organizer information

Error Responses

error
object
Error details when the request fails
Common error cases:
  • 404 Not Found: Event not found
curl -X GET "https://api.tktchurch.com/v1/events/123e4567-e89b-12d3-a456-426614174000/calendar.ics" \
  -H "Accept: text/calendar"
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//TKT Church//Event Calendar//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
UID:123e4567-e89b-12d3-a456-426614174000
DTSTAMP:20240101T000000Z
DTSTART:20240107T100000Z
DTEND:20240107T120000Z
SUMMARY:Sunday Worship Service
DESCRIPTION:Weekly Sunday worship service
LOCATION:Main Sanctuary, 123 Church Street, New York, NY, USA, 10001
STATUS:CONFIRMED
ORGANIZER;CN=TKT Church:mailto:[email protected]
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=SU
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Reminder
TRIGGER:-PT1440M
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Reminder
TRIGGER:-PT60M
END:VALARM
END:VEVENT
END:VCALENDAR