Create interaction channel invite

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

Standard setup for AI tools providing an mcp.json file

mcp.json
"Flex MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/flex/mcp"
}
Close
POST /v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Invites

TODO: Resource-level docs

Path parameters

  • InteractionSid string Required

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

  • ChannelSid string Required

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

application/x-www-form-urlencoded

Body

  • Routing Required

Responses

  • 201 application/json

    Created

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

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

    • interaction_sid string | null

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

    • routing
    • sid string | null

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

    • url string(uri) | null
POST /v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Invites
curl \
 --request POST 'https://flex-api.twilio.com/v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Invites' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded"
Response examples (201)
{
  "channel_sid": "string",
  "interaction_sid": "string",
  "sid": "string",
  "url": "https://example.com"
}