ghl_social_set_accounts
Sets the social media accounts a CSV import will publish posts to, linking account IDs for the specified location.
Instructions
Set Accounts Set social media accounts for a CSV import to publish posts to Endpoint: POST /social-media-posting/{locationId}/set-accounts (Version header: v3; source: v3/social-planner-v3.json) Requires a Sub-Account (location) token. OAuth scopes: socialplanner/csv.write
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>",
"body": "<body>"
},
"name": "ghl_social_set_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| locationId | Yes | Location ID (also known as Sub-Account ID) for the business location. |