BizKitHub
DocsAPI ReferenceMember/bff/member/save-ai-settings
postMemberAdmin BFF

/bff/member/save-ai-settings

Persists the three per-member fields on cas__organisation_member edited together from the /issue AI-settings modal: defaultRole and aiDescription (consumed by selectMemberAssigneeCandidates when the AI issue-triage agent decides who owns a new ticket) plus jobTitle (customer-facing label rendered on outbound e-mails). The modal batches all three because the operator typically curates the whole member profile in one pass; the standalone inline edit on the member profile uses /save-job-title instead.

MemberpostBffMemberSave-ai-settings

Parameters

JSON body

Request body

application/json
idstringRequired

External member id.

defaultRole"ceo" | "cto" | "marketing" | "support" | "it" | "sales" | nullRequired
One of 2:
Variant 1
"ceo" | "cto" | "marketing" | "support" | "it" | "sales"

Loose organisational role the AI issue-triage agent uses when picking an assignee. Pass null to clear.

Variant 2
null
aiDescriptionstringOptional

Free-form description of what this member does. Fed to the AI agent alongside the role. Pass an empty string / omit to clear.

Length: 0–2000
jobTitlestring | nullRequired
One of 2:
Variant 1
string

Human-facing job title rendered in reporter-visible e-mails and the sidebar member widget. Empty string / null clears the field. Required on this endpoint (the issue AI-settings modal always sends all three fields together); use /save-job-title for standalone edits.

Length: 0–64
Variant 2
null

Response schema

1 status code documented

200Success
successbooleanRequired
Default: true

Response example

application/json
{
  "success": true
}

Request example

POST /bff/member/save-ai-settings

post
curl -X POST "https://api.bizkithub.com/bff/member/save-ai-settings" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "example_id",
  "aiDescription": "example_aiDescription"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key