Lists the predefined connector presets available to the workspace.

GEThttps://api.awork.com/api/v1/agents/connectors/presets
GET https://api.awork.com/api/v1/agents/connectors/presets

Lists predefined connector presets and the OAuth callback URI used for connector setup. Create connectors in the awork app. The response describes setup options; it does not create a connector.

Authentication

AuthorizationBearer

Send your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.

Query parameters

includeAddedbooleanOptional
Default: false

Whether to include providers already added to the workspace for metadata lookup.

Responses

200 OK

application/json

presetsarray of object or nullOptional

The predefined connector presets.

Show 12 properties
hasConfigurationbooleanOptional

Whether setup accepts endpoint values or custom OAuth client settings.

keystring or nullOptional

The stable connector preset key.

namestring or nullOptional

The connector preset display name.

logoPathstring or nullOptional

The connector preset logo path.

supportsDynamicClientRegistrationbooleanOptional

Whether the connector supports dynamic client registration.

requiresOAuthClientSecretbooleanOptional

Whether static OAuth configuration requires a client secret.

documentationUrlstring or nullOptional

The connector documentation URL.

isDisabledbooleanOptional

Whether the connector preset is disabled.

managedOAuthProviderKeystring or nullOptional

The key of the managed OAuth provider.

showOAuthCredentialsboolean or nullOptional

Whether OAuth credential inputs should be displayed.

companySearchobjectOptional
Show 3 properties
enabledbooleanOptional

Whether the connector preset supports company search.

toolNamestring or nullOptional

The connector tool used for company search.

queryParameterNamestring or nullOptional

The tool parameter that receives the search query.

endpointFieldsarray of object or nullOptional

The user-facing fields used to configure the connector endpoint.

Show 9 properties
keystring or nullOptional

The stable field key submitted when creating the connector.

controlTypestring or nullOptional

The control type used to render the field.

labelKeystring or nullOptional

The frontend translation key used to label the field.

placeholderKeystring or nullOptional

The optional frontend translation key used for the field placeholder.

validationKindstring or nullOptional

The optional validation kind applied to text values.

isRequiredbooleanOptional

Whether the field must have a value.

defaultValuestring or nullOptional

The optional default field value.

maxLengthinteger or nullOptional
format: int32

The optional maximum text length.

optionsarray of object or nullOptional

The available options for select fields.

Show 2 properties
valuestring or nullOptional

The stable option value submitted when creating the connector.

labelKeystring or nullOptional

The frontend translation key used to label the option.

oauthCallbackUristring or nullOptional

The OAuth callback URI to register with OAuth providers.

401 Unauthorized

application/json

codestringRequired
minLength: 1

The error code.

descriptionstringRequired
minLength: 1

The description of the error.

linkstringRequired
minLength: 1

The link to the API documentation page.

detailsarray of string or nullOptional

A list of details describing the error.

validationErrorsarray of object or nullOptional

If a validation error occurred, this contains the validation errors for each property.

Show 2 properties
propertystring or nullOptional

The name of the property that failed validation.

messagestring or nullOptional

The reason why this property failed validation.

traceIdstring or nullOptional

The request trace id for tracking the request.

Search documentation