# Update domain config **POST /v1/LinkShortening/Domains/{DomainSid}/Config** ## Servers - https://messaging.twilio.com: https://messaging.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **DomainSid** (string) Unique string used to identify the domain that this config should be associated with. ### Body: application/x-www-form-urlencoded (object) - **FallbackUrl** (string(uri)) Any requests we receive to this domain that do not match an existing shortened message will be redirected to the fallback url. These will likely be either expired messages, random misdirected traffic, or intentional scraping. - **CallbackUrl** (string(uri)) URL to receive click events to your webhook whenever the recipients click on the shortened links - **ContinueOnFailure** (boolean) Boolean field to set customer delivery preference when there is a failure in linkShortening service - **DisableHttps** (boolean) Customer's choice to send links with/without "https://" attached to shortened url. If true, messages will not be sent with https:// at the beginning of the url. If false, messages will be sent with https:// at the beginning of the url. False is the default behavior if it is not specified. ## Responses ### 200 OK #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **domain_sid** (string | null) The unique string that we created to identify the Domain resource. - **config_sid** (string | null) The unique string that we created to identify the Domain config (prefix ZK). - **fallback_url** (string(uri) | null) Any requests we receive to this domain that do not match an existing shortened message will be redirected to the fallback url. These will likely be either expired messages, random misdirected traffic, or intentional scraping. - **callback_url** (string(uri) | null) URL to receive click events to your webhook whenever the recipients click on the shortened links. - **continue_on_failure** (boolean | null) Boolean field to set customer delivery preference when there is a failure in linkShortening service - **date_created** (string(date-time) | null) Date this Domain Config was created. - **date_updated** (string(date-time) | null) Date that this Domain Config was last updated. - **url** (string(uri) | null) - **disable_https** (boolean | null) Customer's choice to send links with/without "https://" attached to shortened url. If true, messages will not be sent with https:// at the beginning of the url. If false, messages will be sent with https:// at the beginning of the url. False is the default behavior if it is not specified. ### 201 Created #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **domain_sid** (string | null) The unique string that we created to identify the Domain resource. - **config_sid** (string | null) The unique string that we created to identify the Domain config (prefix ZK). - **fallback_url** (string(uri) | null) Any requests we receive to this domain that do not match an existing shortened message will be redirected to the fallback url. These will likely be either expired messages, random misdirected traffic, or intentional scraping. - **callback_url** (string(uri) | null) URL to receive click events to your webhook whenever the recipients click on the shortened links. - **continue_on_failure** (boolean | null) Boolean field to set customer delivery preference when there is a failure in linkShortening service - **date_created** (string(date-time) | null) Date this Domain Config was created. - **date_updated** (string(date-time) | null) Date that this Domain Config was last updated. - **url** (string(uri) | null) - **disable_https** (boolean | null) Customer's choice to send links with/without "https://" attached to shortened url. If true, messages will not be sent with https:// at the beginning of the url. If false, messages will be sent with https:// at the beginning of the url. False is the default behavior if it is not specified. [Powered by Bump.sh](https://bump.sh)