Fetch recording

GET /v1/Trunks/{TrunkSid}/Recording

Recording settings for a trunk

Path parameters

  • TrunkSid string Required

    The SID of the Trunk from which to fetch the recording settings.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • trim string | null

      The recording trim setting for the trunk.

      Values are trim-silence or do-not-trim.

    • mode string | null

      The recording mode for the trunk.

      Values are do-not-record, record-from-ringing, record-from-answer, record-from-ringing-dual, or record-from-answer-dual.

GET /v1/Trunks/{TrunkSid}/Recording
curl \
 -X GET https://trunking.twilio.com/v1/Trunks/{TrunkSid}/Recording \
 --user "username:password"
Response examples (200)
{
  "mode": "do-not-record",
  "trim": "trim-silence"
}