OAuth Authentication
Manage provider OAuth connection authentication information
OAuth Authentication object
Attributes
object
Stringid
StringThe unique identifier for this OAuth connection profile
status
EnumThe result status of the OAuth connection attempt
error
ObjectNullableDetails of any error that occurred during the connection attempt
events
ObjectA list of events that occurred during the OAuth connection attempt
connection_id
StringThe ID of the related OAuth connection
profile
ObjectNullablecreated_at
DateTimestamp when the connection profile was created
{"object": "provider_oauth.connection.authentication","status": "completed","error": {},"events": [{"type": "authentication_completed","metadata": {}},{"type": "authentication_completed","metadata": {}}],"profile": {"object": "provider_oauth.connection.profile","status": "active"}}
List provider OAuth connection authentications
List provider OAuth connection authentications for a specific connection
URL Parameters
connection_id
StringThe unique identifier for the connection
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalcurl -X GET "https://api.metorial.com/provider-oauth/connections/con_Rm4Mnheq2bfEPhBhP7SY/authentications" \-H "Authorization: Bearer metorial_sk_..."
Get provider OAuth connection authentication
Get the information of a specific provider OAuth connection authentication
URL Parameters
connection_id
StringThe unique identifier for the connection
authentication_id
StringThe unique identifier for the authentication
curl -X GET "https://api.metorial.com/provider-oauth/connections/con_Rm4Mnheq2bfEPhBhP7SY/authentications/aut_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."