Skip to main content

Start Social Oauth

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTghl.start_social_oauth

Start OAuth process for social media platform

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-start-social-oauth-example",
"method": "tools/call",
"params": {
"name": "ghl.start_social_oauth",
"arguments": {
"platform": "google",
"userId": "userId_123",
"tenantId": "tenantId_123",
"page": "page_example",
"reconnect": false
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"platform": {
"type": "string",
"enum": [
"google",
"facebook",
"instagram",
"linkedin",
"twitter",
"tiktok",
"tiktok-business"
]
},
"userId": {
"type": "string"
},
"page": {
"type": "string"
},
"reconnect": {
"type": "boolean"
}
},
"required": [
"platform",
"userId"
]
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-start-social-oauth-example",
"method": "tools/call",
"params": {
"name": "ghl.start_social_oauth",
"arguments": {
"platform": "google",
"userId": "userId_123",
"tenantId": "tenantId_123",
"page": "page_example",
"reconnect": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.start_social_oauth executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}