Updates the style sheet for an Assistant identified by `assistant_sid`

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/autopilot/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Autopilot MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/autopilot/mcp"
}
Close
POST /v1/Assistants/{AssistantSid}/StyleSheet

TODO: Resource-level docs

Updates the style sheet for an Assistant identified by assistant_sid.

Path parameters

  • AssistantSid string Required

    The SID of the Assistant that is the parent of the resource to update.

application/x-www-form-urlencoded

Body

  • StyleSheet

    The JSON string that describes the style sheet object.

Responses

  • 200 application/json

    OK

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

      The SID of the Account that created the resource

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

    • assistant_sid string | null

      The SID of the Assistant that is the parent of the resource

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

    • data

      The JSON string that describes the style sheet object

    • url string(uri) | null

      The absolute URL of the StyleSheet resource

POST /v1/Assistants/{AssistantSid}/StyleSheet
curl \
 --request POST 'https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/StyleSheet' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded"
Response examples (200)
{
  "account_sid": "string",
  "assistant_sid": "string",
  "url": "https://example.com"
}