Provider Auth Exports
An auth export lets you extract OAuth tokens or credentials from Metorial to use in other systems, avoiding duplicate authentication flows.
The Provider Auth Export object
object"provider.auth_export"requiredidstringrequirednotestringrequiredipstringrequirednullableuser_agentstringrequirednullablemetadataRecord<string, any>requirednullableauth_configobjectrequiredprovider_idstringrequiredprovider_deployment_idstringrequirednullableauth_method_idstringrequiredcredentials_idstringrequirednullablevalueRecord<string, any>requirednullablecreated_atdaterequiredexpires_atdaterequirednullableEndpoints
List provider auth exports
GET
/provider-auth-config-exportsReturns a paginated list of provider auth exports.
Query parameters
idstring or string[]optionalFilter by export ID(s)
provider_idstring or string[]optionalFilter by provider ID(s)
provider_auth_credentials_idstring or string[]optionalFilter by auth credentials ID(s)
provider_auth_config_idstring or string[]optionalFilter by auth config ID(s)
created_atobjectoptionalFilter provider auth export creation time by date range
updated_atobjectoptionalFilter provider auth export last update time by date range
Example request
Get provider auth export
GET
/provider-auth-config-exports/:provider_auth_export_idRetrieves a specific provider auth export by ID.
Path parameters
provider_auth_export_idstringrequiredThe unique identifier for the provider_auth_export
Example request
Create provider auth export
POST
/provider-auth-config-exportsExports authentication credentials from a provider.
Request body
provider_auth_config_idstringrequiredProvider auth config ID
notestringrequiredmetadataRecord<string, any>optionalCustom key-value pairs for storing additional information