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

  • 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"
}
Response examples (200)
{
  "trim": "trim-silence",
  "mode": "do-not-record"
}