OAuth Profile
Manage provider OAuth connection profile information
OAuth Profile object
Attributes
object
Objectid
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
StringThe 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","id": "example_id","status": "active","sub": "example_sub","name": "example_name","email": "example_email","connection_id": "example_connection_id","created_at": "2025-08-12T09:45:16.337Z","last_used_at": "2025-08-12T09:45:16.337Z","updated_at": "2025-08-12T09:45:16.337Z"}
List provider OAuth connection profiles
List provider OAuth connection profiles for a specific connection
URL Parameters
connectionId
StringThe unique identifier for the connection
curl -X GET "https://api.metorial.com/provider-oauth/connections/con_Rm4Mnheq2bfEPhBhP7SY/profiles" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..."
Get provider OAuth connection profile
Get the information of a specific provider OAuth connection profile
URL Parameters
connectionId
StringThe unique identifier for the connection
profileId
StringThe unique identifier for the profile
curl -X GET "https://api.metorial.com/provider-oauth/connections/con_Rm4Mnheq2bfEPhBhP7SY/profiles/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..."