Skip to main content
PUT
Update a campaign's WhatsApp agent settings
Required scope: whatsapp.edit, and API keys additionally need campaigns.edit.

Authorizations

Authorization
string
header
required

Your API key, e.g. pk_live_xxxxxxxxxxxxxxxxxxxxxxxx.

Body

application/json
whatsappEnabled
boolean
required
whatsappSenderId
string | null
whatsappAgentCollectionIds
string[]
whatsappAgentTemplateIds
string[]
whatsappPaymentTemplateId
string | null
Maximum string length: 2000

Response

OK

id
string
required
name
string
required
status
string
required
agentName
string | null
required
whatsappEnabled
boolean
required
whatsappSenderId
string | null
required
whatsappAgentCollectionIds
string[]
required
whatsappAgentTemplateIds
string[]
required
whatsappPaymentTemplateId
string | null
required