Credentials
Credentials (/credentials) is an internal secrets store for integration tokens, passwords, and API keys used by the portal itself (e.g. ConnectWise credentials, third-party API tokens).
Credential fields
| Field | Description |
|---|---|
name |
Human-readable label (e.g. “ConnectWise PSA Production”) |
type |
Category: api_key, oauth, basic, custom |
value |
The secret value (masked in the UI after creation) |
description |
Notes about what this credential is used for |
tags |
Array of string tags |
Using credentials
Credentials are available to agents via the list_credentials MCP tool (returns masked values). To use a credential value in an agent workflow, fetch it via the API and pass it as a tool parameter.
Secret masking
The UI masks credential values after creation — you’ll only see the first 4 characters. To reveal a full value, use GET /api/credentials/:id directly (admin access only in production).
Rotating a credential
Click Rotate on any credential to update the value while keeping the same record ID. This is useful when a third-party rotates their issued keys.
API
| Method | Path | Description |
|---|---|---|
GET |
/api/credentials |
List all (secrets masked) |
GET |
/api/credentials/:id |
Get one (secret included) |
POST |
/api/credentials |
Create credential |
PUT |
/api/credentials/:id |
Update metadata or value |
DELETE |
/api/credentials/:id |
Delete credential |
POST |
/api/credentials/:id/rotate |
Rotate secret value |