# POST /2/account_activity/replay/webhooks/{}/subscriptions/all is deprecated

X API deprecated POST /2/account_activity/replay/webhooks/{id}/subscriptions/all without giving a shutdown date yet.

On March 20, 2026, X API announced the deprecation of POST /2/account_activity/replay/webhooks/{id}/subscriptions/all. Calls to this endpoint will fail. The deprecation was announced without a shutdown date.

## What to use instead

Call POST /2/webhooks/replay instead.

- API: X API (api.x.com)
- Kind: Endpoint removal
- Announced: March 20, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /2/account_activity/replay/webhooks/{id}/subscriptions/all`
- Source: [Announcement](https://docs.x.com/changelog)
- Verified: November 6, 2026, against X API's own pages
- Page: https://www.okapi.bot/providers/x-api/breaking-changes/post-2-account-activity-replay-webhooks-subscriptions-all-is-deprecated/

## X API's words

> Today, we announced the deprecation of POST /2/account_activity/replay/webhooks/{webhook_id}/subscriptions/all , effective March 25, 2026 at 12:00 PM ET. Use the new consolidated POST /2/webhooks/replay endpoint instead

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