# Contacts and integrations

## Contacts

Use `/sites/{siteId}/contacts` to list or add site contacts. Contact updates and removal use the contact ID. MCP provides `list_contacts`, `add_contact`, `set_contact_status`, and `remove_contact`; HTTP also has a contact-name update route.

Contact notification preferences are separate from adding a contact:

`PATCH /sites/{siteId}/contacts/{contactId}/notifications` · MCP: `set_contact_notifications`

```json
{"receivesNotifications":true,"receivesReports":true,"preferredChannel":"email"}
```

Omit a field to preserve it. `preferredChannel` accepts `email`, `sms`, or an empty string to clear the preference. Optional `preferredChannelFrom` / `preferredChannelThrough` are calendar dates in the site's timezone. This preference does not disable the other channel. The credential must carry a user identity; callers cannot substitute one in the body.

Task-level notification routes have separate read/write operations described in [tasks and change review](/guides/tasks#notifications). A task write accepts a contact ID and channel, not an arbitrary destination. Enabling can fail when the contact lacks the required address, has notifications disabled, or SMS is unavailable. Inspect the result before telling a customer they will receive updates.

## Inbound addresses

Read `GET /sites/{siteId}/inbound-addresses` or call `list_inbound_addresses` to find addresses assigned to the site. Use returned addresses instead of constructing them from the site name.

## Microsoft Teams

1. Call `POST /sites/{siteId}/teams/pairing-code` with `{}`, or MCP `connect_teams`.
2. Follow the returned `instructions` to enter the short-lived pairing code in Teams.
3. Read `GET /sites/{siteId}/teams/installation` or MCP `get_teams_connection` to confirm the connection. `installation: null` means the site is not connected.

Creating a code does not complete pairing. Keep pairing codes out of public logs. HTTP returns `201` when a code is created. Installation updates, disconnection, and test posts are not in the external catalog.

## SMS and visitor handoff

| HTTP | MCP |
| --- | --- |
| `PATCH /sites/{id}/sms` | `set_sms_enabled` |
| `PATCH /sites/{id}/chat-sms` | `set_chat_sms_enabled` |
| `PATCH /sites/{id}/chat-handoff` | `set_chat_handoff_enabled` |
| `GET /sites/{siteId}/chat-sms/sender` | `get_chat_sms_sender` |

These flags control separate capabilities. Enabling a flag does not itself provision a sender; inspect the sender result for availability. See the [operation schemas](/reference/operations) for each input.
