Attach an Operator to a Service.

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/intelligence/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"intelligence MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/intelligence/mcp"
}
Close
POST /v2/Services/{ServiceSid}/Operators/{OperatorSid}

Attach an Operator 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: ^GA[0-9a-fA-F]{32}$.

  • OperatorSid string Required

    The unique SID identifier of the Operator. Allows both Custom and Pre-built Operators.

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

Responses

  • 202 application/json

    Accepted

    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_sid string | null

      The unique SID identifier of the Operator.

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

    • url string(uri) | null

      The URL of this resource.

POST /v2/Services/{ServiceSid}/Operators/{OperatorSid}
curl \
 --request POST 'https://intelligence.twilio.com/v2/Services/{ServiceSid}/Operators/{OperatorSid}' \
 --user "username:password"
Response examples (202)
{
  "operator_sid": "LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "service_sid": "GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://intelligence.twilio.com/v2/Services/GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Operators/LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}