The OperatorAttachments resource represents the link between Prebuilt or Custom Operator and a specific Voice Intelligence Service.
The unique SID identifier of the Service.
^GA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
List of Operator SIDs attached to the service. Includes both Custom and Pre-built Operators.
The URL of this resource.
GET https://intelligence.twilio.com/v2/Services/{ServiceSid}/Operators
This endpoint retrieves all Pre-Built and Custom Operators that are attached to a Service.
The unique SID identifier of the Service.
^LY[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function fetchOperatorAttachments() {11const operatorAttachment = await client.intelligence.v212.operatorAttachments("LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.fetch();1415console.log(operatorAttachment.serviceSid);16}1718fetchOperatorAttachments();
1{2"service_sid": "LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"operator_sids": [4"LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",5"LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"6],7"url": "https://intelligence.twilio.com/v2/Services/GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Operators"8}