TangoHive API

Read your calendars from another app, or send contacts in. Create keys on your Integrations page.

Connect an AI assistant (MCP)

TangoHive runs an MCP server at https://tangohive.com/mcp (Streamable HTTP). It signs in with OAuth, so ChatGPT, Claude and coding agents connect with the person's own TangoHive account and no key. Tools read calendars and events, and add or change the person's own calendars and events. Sharing, event updates and posts are only prepared: the tool returns a link, and the person sends it. Setup steps are on Run TangoHive from ChatGPT or Claude.

claude mcp add --transport http tangohive https://tangohive.com/mcp

Reading calendars

Send your read-only key on each request. It starts with th_read_, sees exactly what you see when signed in, and cannot change anything. Keep it on a server, never in a web page.

curl https://tangohive.com/api/v1/calendars \
  -H "Authorization: Bearer th_read_..."

Returns your calendars, your groups' calendars, and calendars shared with you, with each one's id, name, color and timezone.

curl "https://tangohive.com/api/v1/events?from=2026-11-01T00:00:00Z&to=2026-12-01T00:00:00Z" \
  -H "Authorization: Bearer th_read_..."

Returns every event in the range, up to about 13 months at a time. Repeating events come back as one entry per date, with deleted dates already removed, so you do not have to work out the schedule yourself. Events limited to certain people appear only if you created them or are on the list.

Event fieldMeaning
idUnique for each date of a repeating event.
calendarId, calendarName, calendarColorThe calendar it is on.
timezoneThe calendar's timezone.
title, notes, locationWhat you typed. Notes and location can be null.
dropOff, pickUpWho gets someone there and home: a name or something like "School bus". Can be null.
dropOffEmail, pickUpEmailThe email when that field names someone on the calendar, otherwise null.
startsAt, endsAt, allDayUTC timestamps. An all-day event's end is exclusive.
isRecurring, seriesIdWhether it repeats, and the id shared by the whole series.
recurrenceRuleThe repeat schedule in iCalendar format, such as "FREQ=WEEKLY;BYDAY=TU". Null if it does not repeat.
occurrenceStartIsoWhen this date was originally scheduled, even if it was moved.
isExceptionTrue when this one date was changed on its own.
restricted, audienceWhether only some people can see it, and which people.
readOnlyWhether you can only view it in TangoHive.
linkGroupIdShared by copies of one event placed on several calendars.
sourceHow it was added, such as manual or paste.
createdAt, updatedAtWhen it was added and last changed.

A missing or cancelled key returns 401. A bad date range returns 400.

Sending contacts in

This uses your separate contact import key, which starts with th_live_ and can only add or update contacts. Send one contact or an array of up to 500.

curl -X POST https://tangohive.com/api/v1/contacts \
  -H "Authorization: Bearer th_live_..." \
  -H "Content-Type: application/json" \
  -d '{"name":"Jane Doe","email":"[email protected]","phone":"555-123-4567","tags":["signup"]}'

A contact is matched by email, then phone, and updated if it already exists. Any other simple field you send, or anything inside attrs, is saved as a custom attribute.