OAuth Profile

Manage provider OAuth connection profile information

OAuth Profile object

Attributes

items

Object
{
"items": {
"0": {
"object": "provider_oauth.connection.profile",
"status": "active"
},
"object": "example_object",
"id": "example_id",
"status": "",
"sub": "example_sub",
"name": "example_name",
"email": "example_email",
"connection_id": "example_connection_id",
"created_at": "2025-10-15T16:41:27.286Z",
"last_used_at": "2025-10-15T16:41:27.286Z",
"updated_at": "2025-10-15T16:41:27.286Z"
},
"pagination": {
"has_more_before": false,
"has_more_after": false
}
}

List provider OAuth connection profiles

List provider OAuth connection profiles for a specific connection

URL Parameters

connection_id

String

The unique identifier for the connection

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

EnumOptional
GEThttp://api.metorial.com/provider-oauth/connections/:connection_id/profiles
curl -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

String

The unique identifier for the connection

profile_id

String

The unique identifier for the profile

GEThttp://api.metorial.com/provider-oauth/connections/:connection_id/profiles/:profile_id
curl -X GET "https://api.metorial.com/provider-oauth/connections/con_Rm4Mnheq2bfEPhBhP7SY/profiles/pro_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."