---
title: "POST /v1/Trunks/{TrunkSid}/OriginationUrls"
method: POST
path: "/v1/Trunks/{TrunkSid}/OriginationUrls"
tags: ["TrunkingV1OriginationUrl"]
---

# POST /v1/Trunks/{TrunkSid}/OriginationUrls

`POST /v1/Trunks/{TrunkSid}/OriginationUrls`

## Path parameters

- `TrunkSid` string, required

## Response `201`

Created

- TrunkingV1TrunkOriginationUrl
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the OriginationUrl resource.
  - `sid` string, nullable — The unique string that we created to identify the OriginationUrl resource.
  - `trunk_sid` string, nullable — The SID of the Trunk that owns the Origination URL.
  - `weight` integer — The value that determines the relative share of the load the URI should receive compared to other URIs with the same priority. Can be an integer from 1 to 65535, inclusive, and the default is 10. URLs with higher values receive more load than those with lower ones with the same priority.
  - `enabled` boolean, nullable — Whether the URL is enabled. The default is `true`.
  - `sip_url` string, uri, nullable — The SIP address you want Twilio to route your Origination calls to. This must be a `sip:` schema.
  - `friendly_name` string, nullable — The string that you assigned to describe the resource.
  - `priority` integer — The relative importance of the URI. Can be an integer from 0 to 65535, inclusive, and the default is 10. The lowest number represents the most important URI.
  - `date_created` string, date-time, nullable — The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  - `date_updated` string, date-time, nullable — The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  - `url` string, uri, nullable — The absolute URL of the resource.

## Changes

- **2024-08-26** (v1) `2dbaa06d2f0f` — 2 info
  - the `priority` response's property default value `0` was added for the status `201`
  - the `weight` response's property default value `0` was added for the status `201`
- **2023-08-10** (v1) `b6539555f79c` — 1 info
  - api tag `TrunkingV1OriginationUrl` added

[Change history](https://skmtc.dev/twilio/apis/trunking-v1/changes/v1/Trunks/:TrunkSid/OriginationUrls/post.md)

---

[API](https://skmtc.dev/twilio/apis/trunking-v1.md) · [All operations](https://skmtc.dev/twilio/apis/trunking-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/twilio/trunking-v1/revisions/d34f2c6352fa/schema)
