ghl_social_get_account
Retrieves the social media accounts and groups connected to a location, enabling you to identify available profiles and groups before planning or publishing posts.
Instructions
Get Accounts Get list of accounts and groups Endpoint: GET /social-media-posting/{locationId}/accounts (Version header: v3; source: v3/social-planner-v3.json) Requires a Sub-Account (location) token. OAuth scopes: socialplanner/account.readonly
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locationId": "<locationId>"
},
"name": "ghl_social_get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes | Location Id |