Create an API connector

View as MarkdownOpen in Claude
This endpoint creates a new API connector that defines how to call an external HTTP endpoint from within Sigma. For more information on API connectors, see [Configure API credentials and connectors in Sigma](https://help.sigmacomputing.com/docs/configure-api-credentials-and-connectors-in-sigma). ### Usage notes - The user making this request must be assigned an account type with the **Manage API connectors** permission enabled. - If a credential is provided using the `authId` parameter, the user making this request must have at least **Can view** permission on the credential and the request URL must match the credential's allowlist. - Retrieve the **apiCredentialId** (used as `authId`) by calling the [/v2/api-credentials](https://help.sigmacomputing.com/reference/list-api-credentials) endpoint. ### Usage scenarios - **Programmatic connector setup:** Automate creation of API connectors as part of an environment provisioning workflow. - **Integration onboarding:** Create connectors for each external service your workbooks need to interact with.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Request

The request body.
namestringRequired
Display name of the connector.
paramsobjectRequired
descriptionstringOptional

Human-readable description.

configobjectOptional
authIdstringOptional

Identifier of the API credential (apiCredentialId) used to authenticate requests.

Response

The response body.
apiConnectorIdstring
Unique identifier of the API connector.
namestring
Display name of the connector.
paramsobject
configobject
createdBystring
The identifier of the user who created this object.
updatedBystring
The identifier of the user or process that last updated this object.
createdAtdatetime
When the object was created.
updatedAtdatetime
When the object was last updated.
descriptionstring

Human-readable description.

authIdstring or null

Identifier of the API credential (apiCredentialId) used to authenticate requests. null if unauthenticated.