Skip to main content
Saves a connection: your organisation’s sign-in to a service a knowledge source reads. The response describes the connection and does not contain the token; no endpoint ever returns it. To change the token later, use Replace a token. See Saved connections. You need the owner or admin role (credential.manage). The deployment must have a secrets key configured; without one this returns 503. A name already used in your organisation returns 409. An organisation holds at most 100 connections. MITHUNAI does not test the token when you save it. A wrong token is reported by the first sync of a source that uses it, or by testing the AI employee’s tool it is connected to.
string
required
Your label for the connection, 1 to 120 characters, unique in your organisation.
string
required
The service: github, atlassian (Confluence, Jira and Jira Service Management Cloud), notion, zendesk (Zendesk Support tickets), grafana, hubspot, wordpress, slack, stripe, okta, google_workspace, microsoft_entra, freshdesk, intercom, sentry, pagerduty, datadog, gmail or microsoft_outlook (AI employees only).
object
required
The service’s own fields, all strings. A field the kind does not take is refused with 400, and no error message ever repeats a value you sent.

Response

Returns 201 with the connection, as Get a connection describes it.
Last modified on November 7, 2026