OAuth Profile
Manage provider OAuth connection profile information
OAuth Profile object
Attributes
object
Stringid
StringThe unique identifier for this OAuth profile
status
EnumThe current status of the OAuth profile
sub
StringThe subject identifier provided by the OAuth provider (usually a unique user ID)
name
StringNullableThe display name of the user associated with this profile
The email address of the user associated with this profile
connection_id
StringThe ID of the related OAuth connection
created_at
DateTimestamp when the OAuth profile was created
last_used_at
DateTimestamp when this profile was last used
updated_at
DateTimestamp when the profile was last updated
{"object": "provider_oauth.connection.profile","status": "active"}
List provider OAuth connection profiles
List provider OAuth connection profiles 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/profiles" \-H "Authorization: Bearer metorial_sk_..."
Get provider OAuth connection profile
Get the information of a specific provider OAuth connection profile
URL Parameters
connection_id
StringThe unique identifier for the connection
profile_id
StringThe unique identifier for the profile
curl -X GET "https://api.metorial.com/provider-oauth/connections/con_Rm4Mnheq2bfEPhBhP7SY/profiles/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."