Skip to main content
PATCH
Atualizar campanha

Autorizações

Authorization
string
header
obrigatório

Token JWT de autenticação

Cabeçalhos

x-company-id
string

Identificador da empresa-alvo. Obrigatório apenas para API Keys globais (type=global). Ignorado para API Keys de empresa e usuários humanos.

Parâmetros de caminho

id
string
obrigatório

ID da campanha

Corpo

application/json
name
string
Required string length: 1 - 100
description
string
Maximum string length: 500
channel_type
enum<string>
Opções disponíveis:
WAP_AUTO_CLOSER,
WEB_V2,
EVOLUTION_API,
LINKEDIN,
MULTI_CHANNEL
trigger_config
object
audience_config
object
behavior_config
object
linkedin_config
object
sender_config
object
status
enum<string>
Opções disponíveis:
DRAFT,
ACTIVE,
PAUSED,
COMPLETED,
ARCHIVED

Resposta

200 - application/json

The response is of type object.