Skip to main content

Auth API

Session, Telegram login, token, agent, MCP, and bootstrap auth routes.

How To Use This API Group

Use this group when a client needs to work with auth behavior in Veoveo. Start with the route list, choose the method that matches the user task, then open the API reference for exact parameters and schemas.

Authentication And Scope

Most workspace routes require a signed-in session or an integration token with access to the target workspace. Keep the workspace reference and resource references from prior responses or visible app routes.

Current Routes

MethodPathSummaryAuthSurface
GET/api/agent/bot-sessionGet bot agent sessionpublic, sessionbrowser_api
GET/api/agent/sessionGet agent sessionpublic, sessionbrowser_api
POST/api/auth/logoutLog outsessionauth_session
GET/api/auth/oidc/callbackComplete OIDC loginpublicauth_session
GET/api/auth/sessionGet auth sessionpublic, sessionauth_session
GET/api/auth/telegramComplete Telegram loginpublicauth_session
GET/api/auth/tokensList auth tokenssessionbrowser_api
POST/api/auth/tokensCreate auth tokensessionbrowser_api
DELETE/api/auth/tokens/{principal_id}Revoke auth tokensessionbrowser_api
POST/api/bootstrap/service-principalBootstrap service principalsession, user_api_tokenbrowser_api
POST/api/mcp/principals/user-bootstrapBootstrap MCP user principalsessionbrowser_api
GET/api/mcp/sessionGet MCP sessionpublic, sessionbrowser_api

Representative Request

This example uses one auth route. Replace bracketed path values with ids from prior API responses and use the reference for the exact request body and response schema.

curl -sS \
"https://veoveo.ai/api/agent/bot-session"

Response Review

  • Check status codes and structured error details before retrying.
  • Treat returned identifiers as the values to use in follow-up calls.
  • For routes that create or update workspace facts, review the affected artifact, event, link, bot, or operation in the app.

Media To Add

  • Table: common auth calls with required references, expected result, and next review action. It helps developers choose the right route quickly. Source: this route group and the API reference.