campaigns

Put Agent Channel

Changed on

Replace the working copy. Agents keep reading the approved snapshot until someone approves the change (D8).

put/api/v1/campaigns/{campaign_id}/agent-channel

Request

  • Base URL
    https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

campaign_idstring uuid required

Request body

namestring required
external_refstring nullable
raise_mode'when_asked' | 'when_relevant' | 'end_of_booking'

When an agent brings a live campaign up (PLAN-agent-campaigns).

priorityinteger
disclaimerstring nullable
call_to_actionstring nullable
never_saystring nullable
voice_agent_group_idsstring[] required
text_widget_group_idsstring[] required

Response

Successful Response

campaign_idstring uuid required
namestring required
external_refstring nullable required
timezonestring required
raise_mode'when_asked' | 'when_relevant' | 'end_of_booking' required

When an agent brings a live campaign up (PLAN-agent-campaigns).

priorityinteger required
disclaimerstring nullable required
call_to_actionstring nullable required
never_saystring nullable required
voice_agent_group_idsstring[] required
text_widget_group_idsstring[] required
approved_atstring date-time nullable required
approved_by_namestring nullable required
switched_off_atstring date-time nullable required
switched_off_by_namestring nullable required
last_edited_by_user_idstring uuid nullable required
has_unapproved_changesboolean required
nowstring date-time required
versionstring required

Changes