Fetch specific Policy Instance

GET /v1/Policies/{Sid}

TODO: Resource-level docs

Fetch specific Policy Instance.

Path parameters

  • Sid string Required

    The unique string that identifies the Policy resource.

Responses

  • 200

    OK

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

      A human-readable description of the Policy resource

    • The sid of a Policy object that dictates requirements

    • sid string | null

      The unique string that identifies the Policy resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RN[0-9a-fA-F]{32}$.

    • url string(uri) | null

      The absolute URL of the Policy resource

GET /v1/Policies/{Sid}
curl \
 -X GET https://trusthub.twilio.com/v1/Policies/{Sid} \
 --user "username:password"
Response examples (200)
{
  "friendly_name": "string",
  "sid": "string",
  "url": "https://example.com"
}