---
title: "Put expecting"
method: PUT
path: "/v1/settings/expecting"
tags: ["Settings"]
---

# Put expecting

`PUT /v1/settings/expecting`

## Request

- Base URL: `https://api.vicem.ai`
- URL: `https://api.vicem.ai/v1/settings/expecting`
- Auth: HTTP bearer

## Request body

- PutExpectingReq
  - `items` ExpectingCallInput[], required
    - `name` string, required
    - `phone` string
    - `contactId` string
    - `until` string, date-time, required
    - `saysFrom` string, nullable
    - `since` string, date-time
    - `reason` string, nullable
    - `source` 'owner' | 'errand' | 'case' | 'mail'
    - `errandId` string
    - `caseId` string
  - `removeAuto` E164[]

## Response `200`

OK

- ExpectingCalls
  - `items` ExpectingCall[], required
    - `name` string, required
    - `phone` string, required
    - `contactId` string, required
    - `until` string, date-time, required
    - `saysFrom` string, nullable, required
    - `since` string, date-time, required
    - `reason` string, nullable, required
    - `source` 'owner' | 'errand' | 'case' | 'mail', required
    - `errandId` string, required
    - `caseId` string, required

## Other responses

- `400`: Invalid request (body not JSON, or schema validation failed).
- `401`: Missing, expired or invalid bearer token.
- `413`: Body over the limit (64 KB; 512 KB for contact import).
- `500`: Unexpected server error (reported to Sentry).

---

[API](https://skmtc.dev/vicem/apis/vicem-api.md) · [All operations](https://skmtc.dev/vicem/apis/vicem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vicem/apis/vicem-api/revisions/9efcec07e5f4?raw)
