Skip to main content

Post Internal Users Owner Id Connections By Token

POST 

/internal/users/:ownerId/connections/by-token

Connects an API token pasted on the Telemetrio site. The account is identified by the token; the owner's official connection of the same account is replaced (replaced: true). A rejected token returns 401 SESSION_EXPIRED. Optional mcpTargets (1-20, requires flowId) and accounts ("all", requires mcpTargets) are staged as the grant intent of flowId after the key is saved and applied at once; the response then carries aiAccess (per AI client: ref, clientName, granted; linkedAccounts, null when linked accounts could not be listed).

Request​

Responses​

Validated response