To obtain session details for fetching reports and dashboards

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

Standard setup for AI tools providing an mcp.json file

mcp.json
"flex_v1 MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/flex_v1/mcp"
}
Close
POST /v1/Insights/Session

To obtain session details for fetching reports and dashboards

Headers

  • Authorization string

    The Authorization HTTP request header

Responses

  • 201 application/json

    Created

    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
    • workspace_id string | null

      Unique ID to identify the user's workspace

    • session_expiry string | null

      The session expiry date and time, given in ISO 8601 format.

    • session_id string | null

      The unique ID for the session

    • base_url string | null

      The base URL to fetch reports and dashboards

    • url string(uri) | null

      The URL of this resource.

POST /v1/Insights/Session
curl \
 --request POST 'https://flex-api.twilio.com/v1/Insights/Session' \
 --user "username:password" \
 --header "Authorization: string"
Response examples (201)
{
  "session_expiry": "2022-09-27T09:28:01Z",
  "workspace_id": "clbi1eelh1x8z4.......ijpnyu",
  "session_id": "-----BEGIN PGP MESSAGE-----\n\nwcBMA11tX1FL13rp……kHXd\n=vOBk\n-----END PGP MESSAGE-----\n",
  "base_url": "https://analytics.ytica.com/",
  "url": "https://flex-api.twilio.com/v1/Insights/Session"
}