# record_calls on PUT /api/v1/membership/ is deprecated

Close API deprecated PUT /api/v1/membership, body parameter record_calls without giving a shutdown date yet.

The boolean record_calls body parameter on PUT /api/v1/membership has been deprecated without a shutdown date. Calls that rely on this parameter will eventually fail once it is removed.

## What to use instead

Send auto_record_calls with a value of 'enabled' or 'disabled' instead of record_calls.

- API: Close API (api.close.com)
- Kind: Parameter removal
- Announced: December 2, 2024
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `PUT /api/v1/membership`, `body parameter record_calls`
- Source: [Announcement](https://developer.close.com/api/overview/changelog/2024/12/2)
- Verified: November 6, 2026, against Close API's own pages
- Page: https://www.okapi.bot/providers/close-api/breaking-changes/record-calls-on-put-api-v1-membership-is-deprecated/

## Close API's words

> The boolean record_calls field on the Membership API has been deprecated in favor of auto_record_calls

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
