Service Tokens API
Workspace service token lifecycle.
How To Use This API Group
Use this group when a client needs to work with service tokens 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
| Method | Path | Summary | Auth | Surface |
|---|---|---|---|---|
GET | /api/w/{workspace_ref}/service-tokens | List workspace service tokens | session, user_api_token | public_api |
POST | /api/w/{workspace_ref}/service-tokens | Create workspace service token | session, user_api_token | public_api |
DELETE | /api/w/{workspace_ref}/service-tokens/{principal_id} | Revoke workspace service token | session, user_api_token | public_api |
GET | /api/w/{workspace_ref}/service-tokens/{principal_id}/secret | Reveal workspace service token | session, user_api_token | public_api |
Representative Request
This example uses one service-tokens 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 \
-H "Authorization: Bearer <token>" \
"https://veoveo.ai/api/w/<workspace_ref>/service-tokens"
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 service tokens 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.