accounts_configure
Configure a workspace OAuth application for a social network.
REST · POST /api/v1/operations/accounts_configure · MCP · accounts_configure
Required scope · admin. Send Idempotency-Key in REST or requestKey in MCP. Replace example IDs and times before running.
Example request body
{
"platform": "youtube",
"clientId": "CLIENT_ID",
"clientSecret": "CLIENT_SECRET"
}
REST returns the output below directly. In MCP read structuredContent.result. Check the current installation at /api/v1/openapi.json.
For 401 check credential validity. For 403 inspect the role, scopes and selected accounts. For 409 reread the record before retrying.
JSON Schema · Input
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"youtube",
"instagram",
"tiktok"
]
},
"clientId": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"clientSecret": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"configId": {
"type": "string",
"pattern": "^\\d{1,40}$"
}
},
"required": [
"platform",
"clientId",
"clientSecret"
],
"additionalProperties": false
}
JSON Schema · Output
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"platform": {
"type": "string"
},
"configured": {
"type": "boolean"
}
},
"required": [
"platform",
"configured"
],
"additionalProperties": {}
}