Skip to main content
POST
/
v1
/
api-providers
ListApiProviders
curl --request POST \
  --url https://app.textql.com/v1/api-providers \
  --header 'Authorization: Bearer <token>' \
  --header 'Connect-Protocol-Version: <connect-protocol-version>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "providers": [
    {
      "id": "<string>",
      "name": "<string>",
      "iconUrl": "<string>",
      "authType": "<string>",
      "description": "<string>",
      "docsUrl": "<string>",
      "defaultHosts": [
        "<string>"
      ],
      "tokenLabel": "<string>",
      "authHeader": "<string>",
      "authPrefix": "<string>",
      "oauthSupported": true,
      "oauthConfigured": true,
      "memberAuthenticated": true,
      "memberAuthDisplayName": "<string>",
      "envVarFields": [
        {
          "envVar": "<string>",
          "label": "<string>",
          "required": true,
          "secret": true,
          "defaultValue": "<string>",
          "placeholder": "<string>"
        }
      ],
      "oauthHasDefaultUrls": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json

The body is of type ListApiProvidersRequest · object.

Response

Success

providers
ApiProvider · object[]