Skip to main content
PUT
Update a campaign contact

Authorizations

Authorization
string
header
required

Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.

Path Parameters

projectId
string
required

Project id

id
string
required

Campaign id

itemId
string
required

Contact (campaign item) id

Body

application/json

Send only the fields to change.

name
string | null
Minimum string length: 1
phone_number
string
Minimum string length: 1
agent_id
string | null
Minimum string length: 1
callback
boolean
custom_vars
object

Replaces the contact's variables.

Response

The updated contact

item
object
required

One contact on a campaign and the state of its call.