Skip to main content
PATCH
/
v1
/
campaign-creation
/
{interview_id}
/
draft
Update Draft
curl --request PATCH \
  --url https://api.ontora.com/v1/campaign-creation/{interview_id}/draft \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "goal": "<string>",
  "project_context": "<string>",
  "success_criteria": "<string>",
  "interview_context_for_employee": "<string>",
  "agent_behavior": "<string>",
  "channel": "<string>",
  "interview_duration_minutes": 123,
  "interview_type": "<string>",
  "voice_id": "<string>",
  "welcome_screen": "<string>",
  "closing_message": "<string>",
  "recurring_interval": "<string>",
  "timeframe_start": "2023-11-07T05:31:56Z",
  "timeframe_end": "2023-11-07T05:31:56Z",
  "quick_mode_hours": 123,
  "scheduling_mode": "<string>",
  "start_immediately": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.ontora.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

interview_id
string<uuid>
required

Body

application/json
name
string | null
description
string | null
goal
string | null
project_context
string | null
success_criteria
string | null
interview_context_for_employee
string | null
agent_behavior
string | null
channel
string | null
interview_duration_minutes
integer | null
interview_type
string | null
voice_id
string | null
welcome_screen
string | null
closing_message
string | null
recurring_interval
string | null
timeframe_start
string<date-time> | null
timeframe_end
string<date-time> | null
quick_mode_hours
integer | null
scheduling_mode
string | null
start_immediately
boolean | null

Response

Successful Response