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

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

business-id
string | null
requerido

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 ruta

chatbot_id
string<uuid>
requerido

Cuerpo

application/json
mode
enum<string>
requerido
Opciones disponibles:
off,
allowlist,
blocklist

Respuesta

Successful Response

allowlist
ContactFilterEntryOut · object[]
requerido
blocklist
ContactFilterEntryOut · object[]
requerido
mode
enum<string>
requerido

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

Opciones disponibles:
off,
allowlist,
blocklist