Attach an Operator to a Service.
Attach an Operator to a Service.
Path parameters
-
The unique SID identifier of the Service.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^GA[0-9a-fA-F]{32}$
. -
The unique SID identifier of the Operator. Allows both Custom and Pre-built Operators.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^LY[0-9a-fA-F]{32}$
.
POST
/v2/Services/{ServiceSid}/Operators/{OperatorSid}
curl \
--request POST 'https://intelligence.twilio.com/v2/Services/{ServiceSid}/Operators/{OperatorSid}' \
--user "username:password"
Response examples (202)
{
"url": "https://intelligence.twilio.com/v2/Services/GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Operators/LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"operator_sid": "LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}