---
title: "Changes to POST /create-phone-number"
method: POST
path: "/create-phone-number"
---

# Changes to POST /create-phone-number

`POST /create-phone-number`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 8 of 28 revisions.

- **2026-05-28** `40402ca870b9` — 2 warning, 4 info
- **2026-05-08** `7dd16ddf69d8` — 2 warning, 4 info
- **2026-05-07** `f1a0d7c1e36c` — 4 breaking, 2 info
- **2026-04-20** `8ee53928bf31` — 8 warning
- **2026-03-09** `8fbf8c54a142` — 5 breaking
- **2026-02-23** `bcff6899fa2a` — 8 info
- **2026-02-06** `dfad228ab4a4` — 9 info
- **2026-01-23** `427e77039f39` — 4 warning, 4 info

## Changes

- **2026-05-28** `40402ca870b9` — 2 warning, 4 info
  - changed the pattern of the request property `inbound_agents/items/agent_version/oneOf[subschema #2]/` from `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` to `^(latest|latest_published|(?!(?:latest|latest_published|v\d+)$)[a-z][a-z0-9_-]{0,19})$`
  - changed the pattern of the request property `outbound_agents/items/agent_version/oneOf[subschema #2]/` from `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` to `^(latest|latest_published|(?!(?:latest|latest_published|v\d+)$)[a-z][a-z0-9_-]{0,19})$`
  - the `inbound_agents/items/agent_version/oneOf[subschema #2]/` response's property pattern was changed from `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` to `^(latest|latest_published|(?!(?:latest|latest_published|v\d+)$)[a-z][a-z0-9_-]{0,19})$` for the status `201`
  - the `inbound_sms_agents/items/agent_version/oneOf[subschema #2]/` response's property pattern was changed from `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` to `^(latest|latest_published|(?!(?:latest|latest_published|v\d+)$)[a-z][a-z0-9_-]{0,19})$` for the status `201`
  - the `outbound_agents/items/agent_version/oneOf[subschema #2]/` response's property pattern was changed from `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` to `^(latest|latest_published|(?!(?:latest|latest_published|v\d+)$)[a-z][a-z0-9_-]{0,19})$` for the status `201`
  - the `outbound_sms_agents/items/agent_version/oneOf[subschema #2]/` response's property pattern was changed from `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` to `^(latest|latest_published|(?!(?:latest|latest_published|v\d+)$)[a-z][a-z0-9_-]{0,19})$` for the status `201`
- **2026-05-08** `7dd16ddf69d8` — 2 warning, 4 info
  - changed the pattern of the request property `inbound_agents/items/agent_version/oneOf[subschema #2]/` from `^[a-z0-9_-]+$` to `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$`
  - changed the pattern of the request property `outbound_agents/items/agent_version/oneOf[subschema #2]/` from `^[a-z0-9_-]+$` to `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$`
  - the `inbound_agents/items/agent_version/oneOf[subschema #2]/` response's property pattern was changed from `^[a-z0-9_-]+$` to `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` for the status `201`
  - the `inbound_sms_agents/items/agent_version/oneOf[subschema #2]/` response's property pattern was changed from `^[a-z0-9_-]+$` to `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` for the status `201`
  - the `outbound_agents/items/agent_version/oneOf[subschema #2]/` response's property pattern was changed from `^[a-z0-9_-]+$` to `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` for the status `201`
  - the `outbound_sms_agents/items/agent_version/oneOf[subschema #2]/` response's property pattern was changed from `^[a-z0-9_-]+$` to `^(latest|(?!(?:v\d+)$)[a-z][a-z0-9_-]{0,19})$` for the status `201`
- **2026-05-07** `f1a0d7c1e36c` — 4 breaking, 2 info
  - response property `inbound_agents/items/agent_version` list-of-types was widened by adding types `string` to media type `application/json` of response `201`
  - response property `inbound_sms_agents/items/agent_version` list-of-types was widened by adding types `string` to media type `application/json` of response `201`
  - response property `outbound_agents/items/agent_version` list-of-types was widened by adding types `string` to media type `application/json` of response `201`
  - response property `outbound_sms_agents/items/agent_version` list-of-types was widened by adding types `string` to media type `application/json` of response `201`
  - request property `inbound_agents/items/agent_version` list-of-types was widened by adding types `string` to media type `application/json`
  - request property `outbound_agents/items/agent_version` list-of-types was widened by adding types `string` to media type `application/json`
- **2026-04-20** `8ee53928bf31` — 8 warning
  - removed the request property `inbound_agent_id`
  - removed the request property `inbound_agent_version`
  - removed the request property `outbound_agent_id`
  - removed the request property `outbound_agent_version`
  - removed the optional property `inbound_agent_id` from the response with the `201` status
  - removed the optional property `inbound_agent_version` from the response with the `201` status
  - removed the optional property `outbound_agent_id` from the response with the `201` status
  - removed the optional property `outbound_agent_version` from the response with the `201` status
- **2026-03-09** `8fbf8c54a142` — 5 breaking
  - the `inbound_agent_id` request property's minLength was increased from `0` to `1`
  - the `inbound_agents/items/agent_id` request property's minLength was increased from `0` to `1`
  - the `outbound_agent_id` request property's minLength was increased from `0` to `1`
  - the `outbound_agents/items/agent_id` request property's minLength was increased from `0` to `1`
  - the `phone_number` request property's minLength was increased from `0` to `1`
- **2026-02-23** `bcff6899fa2a` — 8 info
  - request property `inbound_agent_id` deprecated
  - request property `inbound_agent_version` deprecated
  - request property `outbound_agent_id` deprecated
  - request property `outbound_agent_version` deprecated
  - response property `inbound_agent_id` deprecated
  - response property `inbound_agent_version` deprecated
  - response property `outbound_agent_id` deprecated
  - response property `outbound_agent_version` deprecated
- **2026-02-06** `dfad228ab4a4` — 9 info
  - added the new optional request property `fallback_number`
  - added the new optional request property `inbound_agents`
  - added the new optional request property `outbound_agents`
  - added the optional property `fallback_number` to the response with the `201` status
  - added the optional property `inbound_agents` to the response with the `201` status
  - added the optional property `inbound_sms_agents` to the response with the `201` status
  - added the optional property `inbound_sms_webhook_url` to the response with the `201` status
  - added the optional property `outbound_agents` to the response with the `201` status
  - added the optional property `outbound_sms_agents` to the response with the `201` status
- **2026-01-23** `427e77039f39` — 4 warning, 4 info
  - removed the request property `inbound_allowed_countries`
  - removed the request property `outbound_allowed_countries`
  - removed the optional property `inbound_allowed_countries` from the response with the `201` status
  - removed the optional property `outbound_allowed_countries` from the response with the `201` status
  - added the new optional request property `allowed_inbound_country_list`
  - added the new optional request property `allowed_outbound_country_list`
  - added the optional property `allowed_inbound_country_list` to the response with the `201` status
  - added the optional property `allowed_outbound_country_list` to the response with the `201` status

---

[Operation](https://skmtc.dev/retellai/apis/retell-sdk/docs/create-phone-number/post.md) · [API](https://skmtc.dev/retellai/apis/retell-sdk.md) · [Page](https://skmtc.dev/retellai/apis/retell-sdk/changes/create-phone-number/post)
