# Update recording **POST /v1/Trunks/{TrunkSid}/Recording** Recording settings for a trunk ## Servers - https://trunking.twilio.com: https://trunking.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **TrunkSid** (string) The SID of the Trunk that will have its recording settings updated. ### Body: application/x-www-form-urlencoded (object) - **Mode** (string) The recording mode for the trunk. Can be do-not-record (default), record-from-ringing, record-from-answer, record-from-ringing-dual, or record-from-answer-dual. - **Trim** (string) The recording trim setting for the trunk. Can be do-not-trim (default) or trim-silence. ## Responses ### 202 Accepted #### 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) - **mode** (string) The recording mode for the trunk. Can be do-not-record (default), record-from-ringing, record-from-answer, record-from-ringing-dual, or record-from-answer-dual. - **trim** (string) The recording trim setting for the trunk. Can be do-not-trim (default) or trim-silence. [Powered by Bump.sh](https://bump.sh)