Skip to main content
PUT
Bind an assistant to a number

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

number_id
string
obrigatório

Corpo

application/json

null detaches whichever assistant currently answers on the number.

assistant_id
string<uuid> | null

Resposta

Successful Response

id
string<uuid>
obrigatório
phone_number
string
obrigatório
assistant_id
string<uuid> | null
assistant_name
string | null
code_verification_status
string | null
display_phone_number
string | null
messaging_backend
enum<string>
padrão:izap
Opções disponíveis:
external,
izap
phone_number_id
string | null
platform_type
string | null
quality_rating
string | null
status
string | null
verified_name
string | null
waba_id
string | null