Skip to documentation
Browse documentation

Build with LinkDevi

View Markdown ↗

Authentication and permissions

Create scoped credentials, choose an expiry, protect keys and revoke connections.

English · Updated 2026-11-27

Create a scoped credential

Owners and admins manage integration credentials at Connect AI. Choose a descriptive name, explicit scopes and a 7-, 30- or 90-day expiry. The key is displayed once. Verify the connection and revoke it when it is no longer needed. Viewers can read the guide without key-management controls.

OperationRequired scope
capabilitiesValid credential; reports its current access
preview_campaign, list_campaigns, campaign_stats, link_qrlinks:read
create_campaignlinks:write
Read recorded conversion reports (REST)analytics:read
Record a conversion (REST)conversions:write; separate server-side credential

Send the key in the Authorization header

http
Authorization: Bearer YOUR_SCOPED_KEY
Content-Type: application/json

Keep real keys in your server environment, secrets manager or MCP client's protected settings. Do not place them in URLs, command-line arguments, repositories, public HTML, browser bundles, screenshots or issue reports. The examples use placeholders only.

The CLI, SDK and local MCP connector send credentials to the configured LinkDevi origin and reject redirects. They require HTTPS except for localhost development. They do not automatically retry mutations.

Workspace and legacy access

A credential operates within its workspace. Calling capabilities does not increase its permissions. New keys require explicit nonempty scopes. Existing empty-scope credentials retain legacy full access; replace those with narrowly scoped credentials for integrations. Key management is not an MCP tool.

Your AI client has its own data-handling policy and receives the tool inputs and outputs you use there. LinkDevi's connector does not include a model account or hosted OAuth authorization.