Provider Auth Credentials
Auth credentials store your OAuth app registration (client ID, client secret, and scopes). These are the app-level credentials you get from a service like GitHub or Slack.
The Provider Auth Credential object
object"provider.auth_credentials"requiredidstringrequiredtype"oauth"requiredstatus"active" | "archived" | "deleted"requiredis_defaultbooleanrequiredis_managedbooleanrequirednamestringrequirednullabledescriptionstringrequirednullablemetadataRecord<string, any>requirednullablescopesstring[]requirednullableprovider_idstringrequiredcreated_atdaterequiredupdated_atdaterequiredEndpoints
List provider auth credentials
/provider-auth-credentialsReturns a paginated list of provider auth credentials.
Query parameters
status"active" | "archived" or "active" | "archived"[]optionalFilter by status (active, archived)
idstring or string[]optionalFilter by credential ID(s)
provider_idstring or string[]optionalFilter by provider ID(s)
provider_auth_method_idstring or string[]optionalFilter by provider auth method ID(s)
origin"custom" | "managed" or "custom" | "managed"[]optionalFilter by credential origin (custom, managed)
searchstringoptionalSearch by name or description
created_atobjectoptionalFilter provider auth credentials creation time by date range
updated_atobjectoptionalFilter provider auth credentials last update time by date range
Example request
Get provider auth credentials
/provider-auth-credentials/:provider_auth_credentials_idRetrieves specific provider auth credentials by ID.
Path parameters
provider_auth_credentials_idstringrequiredThe unique identifier for the provider_auth_credentials
Example request
Create provider auth credentials
/provider-auth-credentialsCreates new provider auth credentials.
Request body
provider_idstringrequiredProvider ID
namestringoptionaldescriptionstringoptionalmetadataRecord<string, any>optionalCustom key-value pairs for storing additional information
configobjectrequiredExample request
Update provider auth credentials
/provider-auth-credentials/:provider_auth_credentials_idUpdates specific provider auth credentials.
Path parameters
provider_auth_credentials_idstringrequiredThe unique identifier for the provider_auth_credentials
Request body
namestringoptionaldescriptionstringoptionalmetadataRecord<string, any>optionalCustom key-value pairs for storing additional information
client_idstringoptionalclient_secretstringoptionalscopesstring[]optionalExample request
Delete provider auth credentials
/provider-auth-credentials/:provider_auth_credentials_idPermanently deletes provider auth credentials.
Path parameters
provider_auth_credentials_idstringrequiredThe unique identifier for the provider_auth_credentials