ExternalApiConnectorCreate
Creates a bare connector with no OpenAPI spec and no endpoints. Import a spec afterwards via POST /external-apis/{connectorId}/endpoints/import. The slug is derived from name and de-duplicated within the organization.
Possible values: non-empty and <= 255 characters
Possible values: <= 2000 characters
Possible values: [api-key, api-key-query, bearer-token, oauth2-client-credentials, none]
Required when authType is api-key, api-key-query, or bearer-token. Not used for oauth2-client-credentials (token sourced from oauthTokenUrl) or none. Write-only, never returned in responses.
Possible values: <= 255 characters
AuthorizationPossible values: <= 50 characters
Required when authType is oauth2-client-credentials.
Required when authType is oauth2-client-credentials.
Possible values: <= 255 characters
Required when authType is oauth2-client-credentials. Write-only, never returned in responses.
Possible values: <= 255 characters
How the connector authenticates to its OAuth2 token endpoint: basic sends credentials in an Authorization: Basic header, body sends client_id/client_secret in the form body.
Possible values: [basic, body]
defaultHeaders object
Milliseconds. Defaults to the platform's configured connector timeout when omitted.
Possible values: >= 1000 and <= 120000
{
"name": "string",
"description": "string",
"baseUrl": "string",
"authType": "api-key",
"authCredential": "string",
"authParamName": "Authorization",
"authScheme": "string",
"oauthTokenUrl": "string",
"oauthClientId": "string",
"oauthClientSecret": "string",
"oauthScope": "string",
"oauthClientAuthMethod": "basic",
"defaultHeaders": {},
"defaultTimeout": 0
}