Retrieve Operators attached to a Service.

GET /v2/Services/{ServiceSid}/Operators

Retrieve Operators attached to a Service.

Path parameters

  • ServiceSid string Required

    The unique SID identifier of the Service.

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

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • 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

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

      The unique SID identifier of the Service.

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

    • operator_sids array[string] | null

      List of Operator SIDs attached to the service. Includes both Custom and Pre-built Operators.

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

    • url string(uri) | null

      The URL of this resource.

GET /v2/Services/{ServiceSid}/Operators
curl \
 --request GET 'https://intelligence.twilio.com/v2/Services/{ServiceSid}/Operators' \
 --user "username:password"
Response examples (200)
{
  "url": "https://intelligence.twilio.com/v2/Services/GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Operators",
  "service_sid": "GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "operator_sids": [
    "LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
  ]
}