# MaxPrice on POST /2010-04-01/Accounts/{}/Messages.json stops working

Twilio API deprecated POST /2010-04-01/Accounts/{id}/Messages.json, body parameter MaxPrice without giving a shutdown date yet.

Twilio announced on March 12, 2024, that it deprecated the MaxPrice body parameter on POST /2010-04-01/Accounts/{id}/Messages.json without a shutdown date. Twilio API will continue accepting requests with the MaxPrice parameter, but the value will have no effect and error code 30010 will not be returned.

## What to use instead

Remove MaxPrice and restrict destinations with messaging geographic permissions.

- API: Twilio API (api.twilio.com)
- Kind: Behaviour change
- Announced: March 12, 2024
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /2010-04-01/Accounts/{id}/Messages.json`, `body parameter MaxPrice`
- Source: [Announcement](https://www.twilio.com/en-us/changelog/end-of-life--eol--of-twilio-messaging-maxprice-api-parameter)
- Verified: November 6, 2026, against Twilio API's own pages
- Page: https://www.okapi.bot/providers/twilio/breaking-changes/maxprice-on-post-2010-04-01-accounts-messages-json-stops-working/

## Twilio API's words

> After June 3, Twilio will continue to accept messages with the MaxPrice parameter specified, but the value will have no effect and error code 30010 will not be returned.

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