Check a user integration token (Super Admin only)

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://bump.sh/nethesis/doc/nethcti-middleware/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "NethVoice - NethCTI middleware MCP server": {
    "url": "https://bump.sh/nethesis/doc/nethcti-middleware/mcp"
  }
}

Close
GET /admin/tokens/persistent/{username}/{audience}

Path parameters

  • username string Required

    Target user (case insensitive)

    Format should match the following pattern: ^[a-z0-9][a-z0-9._@-]*$.

  • audience string Required

    Integration token audience. all is accepted only by DELETE.

    Values are phone-island, mobile-app, nethlink, chat-island, or all.

Responses

  • 200 application/json

    Whether the user holds a token for the audience

    Hide response attribute Show response attribute object
    • exists boolean
  • 400

    Invalid username or audience

GET /admin/tokens/persistent/{username}/{audience}
curl \
 --request GET 'https://middleware.example.com/api/admin/tokens/persistent/{username}/{audience}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "exists": true
}