Skip to main content
GET
/
events
/
{id}
/
calendar
/
{type}
curl -L "https://api.tktchurch.com/v1/events/123e4567-e89b-12d3-a456-426614174000/calendar/google"
HTTP/1.1 302 Found
Location: https://calendar.google.com/calendar/render?action=TEMPLATE&text=Sunday+Worship+Service&details=Weekly+Sunday+worship+service&location=Main+Sanctuary%2C+123+Church+Street%2C+New+York%2C+NY%2C+USA%2C+10001&dates=20240107T100000Z%2F20240107T120000Z&recur=FREQ%3DWEEKLY%3BINTERVAL%3D1%3BBYDAY%3DSU
These endpoints redirect users to various calendar services to add the event to their calendar.

Google Calendar

id
string
required
The unique identifier (UUID) of the event
GET /events/{id}/calendar/google
Redirects to Google Calendar with the event details pre-filled.

Apple Calendar

id
string
required
The unique identifier (UUID) of the event
GET /events/{id}/calendar/apple
Redirects to Apple Calendar (webcal://) with the event details.

Outlook Calendar

id
string
required
The unique identifier (UUID) of the event
GET /events/{id}/calendar/outlook
Redirects to Outlook Calendar with the event details pre-filled.

Yahoo Calendar

id
string
required
The unique identifier (UUID) of the event
GET /events/{id}/calendar/yahoo
Redirects to Yahoo Calendar with the event details pre-filled.

Error Responses

error
object
Error details when the request fails
Common error cases:
  • 404 Not Found: Event not found or calendar link not available
curl -L "https://api.tktchurch.com/v1/events/123e4567-e89b-12d3-a456-426614174000/calendar/google"
HTTP/1.1 302 Found
Location: https://calendar.google.com/calendar/render?action=TEMPLATE&text=Sunday+Worship+Service&details=Weekly+Sunday+worship+service&location=Main+Sanctuary%2C+123+Church+Street%2C+New+York%2C+NY%2C+USA%2C+10001&dates=20240107T100000Z%2F20240107T120000Z&recur=FREQ%3DWEEKLY%3BINTERVAL%3D1%3BBYDAY%3DSU