---
title: "Update Engagement"
method: PUT
path: "/admin/engagement/{engagement_id}"
tags: ["admin"]
---

# Update Engagement

`PUT /admin/engagement/{engagement_id}`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/engagement/{engagement_id}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Path parameters

- `engagement_id` string, required

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- Engagement
  - `organization_id` string, required
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `deleted_at` string, date-time, nullable
  - `id` string
  - `agent_v2_id` string, nullable
  - `contact_id` string, nullable, required
  - `contact_method_id` string, nullable
  - `send_attempt_id` string, nullable
  - `override_channel_id` string, nullable
  - `latest_event_id` string, nullable, required
  - `latest_event_at` string, date-time, nullable, required
  - `type` 'contact' | 'training' | 'ask_jenny' | 'slack', required
  - `status` 'active' | 'inactive' | 'sent' | 'paused' | 'aborted' | 'never_replied', required
  - `is_ai_allowed_to_respond` boolean
  - `is_simulated` boolean
  - `source` string, nullable
  - `metadata_json` object, nullable
  - `tools_to_preload` object[], nullable
  - `compacted_history` object, nullable
  - `last_compacted_event_id` string, nullable
  - `manually_booked_at` string, date-time, nullable
  - `manually_booked_by_user_id` string, nullable
  - `hidden_at` string, date-time, nullable
  - `hidden_by_user_id` string, nullable

## Response `200`

Successful Response

- EngagementPublic
  - `id` string, required
  - `organization_id` string, required
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `deleted_at` string, date-time, nullable
  - `agent_v2_id` string, nullable
  - `contact_id` string, nullable
  - `contact_method_id` string, nullable
  - `send_attempt_id` string, nullable
  - `override_channel_id` string, nullable
  - `latest_event_id` string, nullable
  - `latest_event_at` string, date-time, nullable
  - `type` 'contact' | 'training' | 'ask_jenny' | 'slack', required
  - `status` 'active' | 'inactive' | 'sent' | 'paused' | 'aborted' | 'never_replied', required
  - `is_ai_allowed_to_respond` boolean, required
  - `is_simulated` boolean, required
  - `source` string, nullable
  - `metadata_json` object, nullable
  - `tools_to_preload` object[], nullable
  - `compacted_history` object, nullable
  - `last_compacted_event_id` string, nullable
  - `manually_booked_at` string, date-time, nullable
  - `manually_booked_by_user_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/86e2c2bd93af?raw)
