Skip to main content
PATCH
Update agent settings

Request contract

  • Method and path: PATCH /apis/v1/social/messaging/business-agent/settings
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/messaging/business-agent/settings
  • connectionId: query; required
  • agentId: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

connectionId
string
required

Your messaging connection (msc_...), from GET /apis/v1/social/messaging/connections. On a request with a JSON body it may be sent as a top-level body member instead.

Pattern: ^msc_[0-9A-Za-z]+$
agentId
string

Body

application/json
ai_audience
enum<string>
Available options:
EVERYONE,
ALLOWLISTED_ONLY
connectionId
string

The connection, when not sent as the connectionId query parameter.

Pattern: ^msc_[0-9A-Za-z]+$
followup
object
handoff
object
never_say_phrases
string[]

Exact phrases the agent must never say; the full replacement list.

rollout
object

Response

Success

Meta Business Agent settings for one WhatsApp number, as Meta returns them.

agent_id
string
required
channel
string
required
rollout
object
required
ai_audience
enum<string> | null

EVERYONE answers all consumers; ALLOWLISTED_ONLY answers only the allowlist and needs no payment method.

Available options:
EVERYONE,
ALLOWLISTED_ONLY,
null
followup
object | null
handoff
object | null
never_say_phrases
string[]

Exact phrases the agent must never say.