THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION
POST /api/v2/integrations/routes
Choose which board, or which knowledge base, a project publishes to.
Implemented. Requires the integrations registry on the customer deployment. A pasted token needs the deployment's Key Vault (STUDIO_KEY_VAULT); without it, name a Key Vault secret by its full URL in a vault the operator approved (STUDIO_INTEGRATION_VAULTS) or use the managed identity.
POST $STUDIO_CUSTOMER_URL/api/v2/integrations/routes- Host
- Customer API
- Caller
- Workspace administrator.
- Authorization
- Bearer token for the customer API, as for every /api/v2 route; the signed-in member must hold the workspace administrator role, otherwise 403 unavailable.
Request
transport_version: 2, project_id and board_id (null clears the route), or project_id and knowledge_base_id (null clears it). Exactly these fields; one route per call.
Return value
200. {transport_version: 2, routes, kb_routes}: the maps of project ID to board ID and to knowledge base ID. A project may route to both: a decision, question or work item goes to the knowledge base when it is routed there and its record accepts the kind, otherwise to the board. A project without either route cannot publish those kinds until it has one.
Errors and retrying
Setting the same route again is safe. An unknown project or board is 400 invalid_request with a detail. Read GET /api/v2/integrations after a lost reply.
Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.