> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usecobalt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Telephone Encounter

> Reassigns a telephone encounter and/or marks it Addressed in the provider's EHR.

Use the encounter's `id` from [GET /telephone-encounters](https://docs.usecobalt.com/api-reference/telephone-encounters/list.md). Send `status`, `assigned_to_id`, or both.

### Request Parameters

* **status** (string, optional): `"addressed"` marks the encounter Addressed, which also locks it in the EHR.
* **assigned\_to\_id** (string, optional): Staff `ehr_id` from [GET /staff](https://docs.usecobalt.com/api-reference/staff/get.md) to reassign the encounter to.

### Example Request

```bash theme={null}
curl -X PATCH https://api.usecobalt.com/v1/telephone-encounters/7d2e4f1a9c3b4e8d8a6f2b1c0d9e8f7a \
-H 'Content-Type: application/json' \
-H 'client_id: ci_live_198908HJDKJSH98789OHKJL' \
-H 'client_secret: cs_live_9827hofdsklOYYHJLJh' \
-H 'access_token: 493JKLHIU98789hLKH9HHJH' \
-d '{
    "assigned_to_id": "61042",
    "status": "addressed"
}'
```

### Example Response

```json theme={null}
{
  "success": true,
  "message": "Telephone encounter update processing. A webhook event will be sent upon completion.",
  "telephone_encounter_id": "7d2e4f1a9c3b4e8d8a6f2b1c0d9e8f7a",
  "job_id": 12345
}
```

### Webhook Events

You'll receive a `telephone_encounter.updated` webhook with the updated encounter (the same object as [GET /telephone-encounters](https://docs.usecobalt.com/api-reference/telephone-encounters/list.md)) plus `updated_fields`, or `telephone_encounter.update_failed` if the update can't be applied. See [Operation Events](https://docs.usecobalt.com/docs/webhooks/operation-events.md).

```json theme={null}
{
  "id": "evt_abc123",
  "object": "event",
  "type": "telephone_encounter.updated",
  "created": "2026-11-17T22:05:00.000Z",
  "job_id": "12345",
  "access_token_reference_id": "user_123",
  "data": {
    "id": "7d2e4f1a9c3b4e8d8a6f2b1c0d9e8f7a",
    "ehr_id": "85479379",
    "patient_mrn": "12345",
    "status": "addressed",
    "locked": true,
    "locked_at": "2026-11-17T22:04:58.000Z",
    "assigned_to_ehr_id": "61042",
    "assigned_to_name": "Doe, John",
    "updated_fields": {
      "status": "addressed",
      "locked": true,
      "locked_at": "2026-11-17T22:04:58.000Z",
      "assigned_to_ehr_id": "61042",
      "assigned_to_name": "Doe, John"
    }
  }
}
```


## OpenAPI

````yaml PATCH /telephone-encounters/{id}
openapi: 3.1.0
info:
  title: Cobalt API
  version: 1.0.1
  description: API for interacting with Cobalt's EHR integration services
servers:
  - url: https://api.usecobalt.com/v1
    description: Production
security:
  - ClientCredentials: []
    ClientSecret: []
    AccessToken: []
paths:
  /telephone-encounters/{id}:
    patch:
      tags:
        - Telephone Encounters
      summary: Update a telephone encounter
      description: >-
        Queues a reassignment and/or marks the telephone encounter Addressed in
        the connected EMR.
      operationId: updateTelephoneEncounter
      parameters:
        - name: id
          in: path
          description: >-
            Cobalt telephone encounter ID (the `id` from GET
            /v1/telephone-encounters).
          schema:
            type: string
            example: encounter-123
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                    - addressed
                  x-supported-emrs:
                    - eClinicalWorks
                  description: >-
                    Set to "addressed" to mark the encounter Addressed (this
                    also locks it in the EHR).
                  example: addressed
                assigned_to_id:
                  type: string
                  x-supported-emrs:
                    - eClinicalWorks
                  description: >-
                    Reassign the encounter to this staff member: a staff
                    `ehr_id` from GET /v1/staff.
                  example: staff-123
                callback_urls:
                  type: array
                  items:
                    type: string
                  x-supported-emrs:
                    - eClinicalWorks
                  description: >-
                    URLs to receive the completion webhook for this update, in
                    addition to the account webhook.
                  example:
                    - https://example.com/webhooks/cobalt
                expires_at:
                  type:
                    - string
                    - 'null'
                  format: date-time
                  x-supported-emrs:
                    - eClinicalWorks
                  description: >-
                    Optional ISO 8601 timestamp with an explicit timezone
                    offset, in the future when submitted. Cobalt starts no new
                    operation attempt after this deadline and reports
                    reasons[].code EXPIRED. An attempt already in progress,
                    including write reconciliation, may finish after it.
                  example: '2027-06-15T14:30:00Z'
      responses:
        '200':
          description: Telephone encounter update queued
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: >-
                      Telephone encounter update processing. A webhook event
                      will be sent upon completion.
                  telephone_encounter_id:
                    type: string
                    example: encounter-123
                  job_id:
                    anyOf:
                      - type: string
                      - type: number
                    example: 1234
                required:
                  - success
                  - message
                  - telephone_encounter_id
                  - job_id
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  responses:
    BadRequest:
      description: Bad request — missing or invalid parameters
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                enum:
                  - false
                example: false
              message:
                type: string
                example: Request could not be completed.
            required:
              - success
              - message
          example:
            success: false
            message: Bad request — missing or invalid parameters
    Unauthorized:
      description: Unauthorized — missing or invalid credentials
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                enum:
                  - false
                example: false
              message:
                type: string
                example: Request could not be completed.
            required:
              - success
              - message
          example:
            success: false
            message: Unauthorized — missing or invalid credentials
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                enum:
                  - false
                example: false
              message:
                type: string
                example: Request could not be completed.
            required:
              - success
              - message
          example:
            success: false
            message: Internal server error
  securitySchemes:
    ClientCredentials:
      type: apiKey
      in: header
      name: client_id
    ClientSecret:
      type: apiKey
      in: header
      name: client_secret
    AccessToken:
      type: apiKey
      in: header
      name: access_token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.