Skip to main content
PUT
Set an assistant's contact filter mode

Autorizações

Authorization
string
header
obrigatório

Personal access token (izap_pat_…) sent as Authorization: Bearer ; dashboard session JWTs are also accepted.

Cabeçalhos

business-id
string | null
obrigatório

UUID of the business the request is scoped to. Required on this route; the deprecated /businesses/{business_id}/... form takes it from the path instead.

Parâmetros de caminho

chatbot_id
string<uuid>
obrigatório

Corpo

application/json
mode
enum<string>
obrigatório
Opções disponíveis:
off,
allowlist,
blocklist

Resposta

Successful Response

allowlist
ContactFilterEntryOut · object[]
obrigatório
blocklist
ContactFilterEntryOut · object[]
obrigatório
mode
enum<string>
obrigatório

off: every contact can trigger the assistant. allowlist: only contacts on the allowlist can. blocklist: every contact except those on the blocklist can.

Opções disponíveis:
off,
allowlist,
blocklist