Skip to content

Credentials

List credential providers

List OAuth and service-account connection methods and their availability. OAuth options provide provider IDs for browser connections; service-account methods declare required fields and write-only secrets. Supports provider-name search. Returns one page; `nextCursor` is always null. OAuth scope: `api:read`.

GET/api/v2/credentials/providers

List OAuth and service-account connection methods and their availability. OAuth options provide provider IDs for browser connections; service-account methods declare required fields and write-only secrets. Supports provider-name search. Returns one page; nextCursor is always null.

OAuth scope: api:read.

Authentication

Send a personal or workspace API key in X-API-Key. See key types and access; operations that reject workspace keys say so in their description.

Send X-API-Key in the request header.

Alternatively

Send a Sim OAuth access token in Authorization: Bearer. See OAuth authentication and scopes.

Authorization: Bearer YOUR_ACCESS_TOKEN

Required scopes: api:read

OAuth flows
json
{
  "authorizationCode": {
    "authorizationUrl": "https://www.sim.ai/api/auth/oauth2/authorize",
    "tokenUrl": "https://www.sim.ai/api/auth/oauth2/token",
    "refreshUrl": "https://www.sim.ai/api/auth/oauth2/token",
    "scopes": {
      "api:read": "Read your workspaces, workflows, files, tables, and logs",
      "api:write": "Read, create, change, run, and delete resources in your workspaces",
      "offline_access": "Stay signed in without asking again"
    }
  }
}

OAuth scope: api:read.

Query parameters

workspaceIdstringRequired

Workspace used to evaluate credential-provider availability and integration policy.

minLength
1
maxLength
128
searchstring

Case-insensitive substring match against the credential provider name.

minLength
1
maxLength
200

Responses

200

Credential provider catalog with caller-specific availability.

object

OAuth and service-account connection methods.

2 fields
dataarrayRequired

Items in the current page.

Schema details
Array itemV2CredentialProvider

An OAuth or service-account connection method available to a workspace.

Schema details

Exactly one of

Option 1object
9 fields
typestringRequired

Browser-based OAuth connection method.

const
oauth
serviceIdstringRequired

Stable credential-provider identifier.

minLength
1
maxLength
255
namestringRequired

Credential provider display name.

minLength
1
maxLength
255
descriptionstringRequired

Credential provider description.

minLength
1
maxLength
1000
providerFamilystringRequired

Owning provider family identifier.

minLength
1
maxLength
255
availablebooleanRequired

Whether this caller can connect the provider in the current deployment.

supportsReconnectbooleanRequired

Whether existing credentials for this service can be reconnected.

authorizationOptionsarrayRequired

Authorization servers available for this OAuth service.

minItems
1
maxItems
10
Schema details
Array itemobject
2 fields
providerIdstringRequired

Exact OAuth provider identifier accepted by the connection endpoint.

minLength
1
maxLength
255
labelstringRequired

Human-readable authorization-server label.

minLength
1
maxLength
255

Additional properties are not allowed.

fieldsarrayRequired

Write-only setup fields required before starting this OAuth flow.

maxItems
20
Schema details
Array itemobject
9 fields
idstringRequired

Exact create-body field name.

minLength
1
maxLength
255
labelstringRequired

Human-readable field label.

minLength
1
maxLength
255
placeholderstringRequired

Suggested input placeholder.

minLength
1
maxLength
1000
requiredbooleanRequired

Whether the field is required for the selected flow.

secretbooleanRequired

Whether the submitted field is write-only secret material.

multilinebooleanRequired

Whether the field is intended for multi-line input.

requiredForAuthMethodsarray

Authentication methods for which this field is required.

minItems
1
maxItems
10
Schema details
Array itemstring
minLength
1
maxLength
64
optionsarray

Fixed values accepted by a selector field.

minItems
1
maxItems
20
Schema details
Array itemobject
2 fields
valuestringRequired

Submitted option value.

minLength
1
maxLength
255
labelstringRequired

Human-readable option label.

minLength
1
maxLength
255

Additional properties are not allowed.

hintstring

Provider-specific setup guidance.

minLength
1
maxLength
2000

Additional properties are not allowed.

Additional properties are not allowed.

Option 2object
11 fields
typestringRequired

Direct service-account credential method.

const
service_account
serviceIdstringRequired

Stable credential-provider identifier.

minLength
1
maxLength
255
namestringRequired

Credential provider display name.

minLength
1
maxLength
255
descriptionstringRequired

Credential provider description.

minLength
1
maxLength
1000
providerFamilystringRequired

Owning provider family identifier.

minLength
1
maxLength
255
availablebooleanRequired

Whether this caller can connect the provider in the current deployment.

providerIdstringRequired

Exact service-account provider ID accepted by credential creation.

minLength
1
maxLength
255
docsUrlstringRequired

Setup guide for the provider.

format
uri
helpTextstring

Provider-specific setup guidance.

minLength
1
maxLength
2000
requiresClientGeneratedCredentialIdbooleanRequired

Whether the caller must generate and submit the credential ID before setup. False for every provider: credential creation mints an ID when none is supplied, and a Slack custom bot may still send one to configure its Request URL ahead of time.

fieldsarrayRequired

Create-body fields accepted by this provider. Secret fields are write-only.

minItems
1
maxItems
20
Schema details
Array itemobject
9 fields
idstringRequired

Exact create-body field name.

minLength
1
maxLength
255
labelstringRequired

Human-readable field label.

minLength
1
maxLength
255
placeholderstringRequired

Suggested input placeholder.

minLength
1
maxLength
1000
requiredbooleanRequired

Whether the field is required for the selected flow.

secretbooleanRequired

Whether the submitted field is write-only secret material.

multilinebooleanRequired

Whether the field is intended for multi-line input.

requiredForAuthMethodsarray

Authentication methods for which this field is required.

minItems
1
maxItems
10
Schema details
Array itemstring
minLength
1
maxLength
64
optionsarray

Fixed values accepted by a selector field.

minItems
1
maxItems
20
Schema details
Array itemobject
2 fields
valuestringRequired

Submitted option value.

minLength
1
maxLength
255
labelstringRequired

Human-readable option label.

minLength
1
maxLength
255

Additional properties are not allowed.

hintstring

Provider-specific setup guidance.

minLength
1
maxLength
2000

Additional properties are not allowed.

Additional properties are not allowed.

nextCursorvalueRequired

Always null. This list has no cursor or limit parameters; see the operation for inventory limits.

Schema details

Any of

Option 1string
Option 2null

Additional properties are not allowed.

Response example 1

json
{
  "data": [
    {
      "type": "oauth",
      "serviceId": "salesforce",
      "name": "Salesforce",
      "description": "Connect to Salesforce CRM data and operations.",
      "providerFamily": "salesforce",
      "available": true,
      "supportsReconnect": true,
      "fields": [],
      "authorizationOptions": [
        {
          "providerId": "salesforce",
          "label": "Production"
        },
        {
          "providerId": "salesforce-sandbox",
          "label": "Sandbox"
        }
      ]
    },
    {
      "type": "service_account",
      "serviceId": "zoom-service-account",
      "providerId": "zoom-service-account",
      "name": "Zoom server-to-server app",
      "description": "Connect Zoom with a server-to-server app.",
      "providerFamily": "zoom",
      "available": true,
      "docsUrl": "https://docs.sim.ai/integrations/zoom-service-account",
      "requiresClientGeneratedCredentialId": false,
      "fields": [
        {
          "id": "clientId",
          "label": "Client ID",
          "placeholder": "Paste the client ID",
          "required": true,
          "secret": false,
          "multiline": false
        },
        {
          "id": "clientSecret",
          "label": "Client secret",
          "placeholder": "Paste the client secret",
          "required": true,
          "secret": true,
          "multiline": false
        },
        {
          "id": "orgId",
          "label": "Account ID",
          "placeholder": "Paste the account ID",
          "required": true,
          "secret": false,
          "multiline": false
        }
      ]
    }
  ],
  "nextCursor": null
}

Response headers

X-RateLimit-Limitinteger

Maximum requests allowed in the current window.

minimum
0
maximum
9007199254740991
X-RateLimit-Remaininginteger

Requests remaining in the current window.

minimum
0
maximum
9007199254740991
X-RateLimit-Resetstring

ISO 8601 timestamp when the current rate-limit window resets.

format
date-time
pattern
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
Was this helpful?
Suggest an edit