Start a council turn
POST/businesses/{business}/council
approve "safe" (default) lets the council read and report only. "auto" lets it make changes within the business's permissions. Send the thread back to continue a conversation.
Needs the council:write scope.
Parameters
businessinteger, in path, required- The business id, from GET /businesses.
Body
messagestring- For example
Add a wholesale enquiry form to the contact page. approvestring- For example
auto threadstring, optional- For example
null
curl -X POST "https://helstify.com/api/v1/businesses/60/council" \
-H "Authorization: Bearer $HELSTIFY_KEY" \
-H "Content-Type: application/json" \
-d '{"message":"Add a wholesale enquiry form to the contact page.","approve":"auto","thread":null}'
{
"ok": true,
"message_id": 5121,
"thread": "9b1c2e7a-4f0d-4a52-9a6e-1f0d2c3b4a59",
"status": "running",
"poll": "/api/v1/businesses/60/council/messages/5121"
}