---
title: "Connect Record To Event"
method: PUT
path: "/calendar/connect-record-to-event"
tags: ["provider", "calendar"]
---

# Connect Record To Event

`PUT /calendar/connect-record-to-event`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/calendar/connect-record-to-event`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/calendar/connect-record-to-event/put.ts> (a function with typed inputs; its response is checked against the schema)

Connect any record that has a foreign key to Event to a specific event.

This endpoint automatically finds which table contains the record_id and updates
the appropriate foreign key column to link it to the specified event.

## Query parameters

- `event_id` string, required
- `record_id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
