Skip to main content
PATCH
Atualizar número (privacidade + settings)

Autorizações

x-api-key
string
header
obrigatório

Sua chave de API ps_

Parâmetros de caminho

id
string
obrigatório

WhatsApp number id.

Corpo

application/json
piiMode
enum<string>

Conversation retention policy. Optional — omit it to change only settings.

Opções disponíveis:
STORE_INDEFINITE,
STORE_X_DAYS,
RELAY_ONLY
Exemplo:

"STORE_X_DAYS"

piiRetentionDays
integer | null

Required (1–3650) when piiMode is STORE_X_DAYS; forced to null otherwise.

Intervalo obrigatório: 1 <= x <= 3650
Exemplo:

30

settings
object

Per-number settings. Partial: only the keys you send change.

Resposta

Updated number