Docs Rizler

Voice Campaign

Create Voice Campaign

POSThttps://app.rizzdial.com/api/campaign/voice
Create Voice Campaign
curl --request POST \
  --url https://app.rizzdial.com/api/campaign/voice \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Morning calls",
  "ai_agents": "MQ==",
  "powerlist_id": [
    "MQ=="
  ],
  "campaign_type": "ai",
  "calls_per_hour": 20,
  "local_presence": "No"
}'
{
  "data": {
    "id": "MQ==",
    "title": "Morning calls",
    "status": "pending",
    "campaign_type": "ai"
  },
  "message": "Voice campaign created successfully.",
  "success": true
}

Create Voice Campaign#

Creates a voice campaign with status pending and a default speed-dial row. The title must be unique in the company. Powerlist and pipeline ids may be Base64 or numeric.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

titlestringbodyrequired

Campaign title, max 50 characters

campaign_typestringbody

ai or predictive. Defaults to ai

powerlist_idstring[]bodyrequired

At least one powerlist id

ai_agentsstringbody

Required when campaign_type is ai

calls_per_hourintegerbody

Minimum 1. Used by AI campaigns

local_presencestringbody

Yes or No

pipeline_idstringbody

Pipeline id

pipeline_stage_idsstring[]body

Stage ids inside that pipeline

agentstringbody

All or Specific for a predictive campaign

specific_agentsinteger[]body

Rep user ids when agent is Specific

curl --request POST \
  --url https://app.rizzdial.com/api/campaign/voice \
  --header 'Authorization: Bearer {{bearer_token}}' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Morning calls",
  "campaign_type": "ai",
  "powerlist_id": [
    "MQ=="
  ],
  "ai_agents": "MQ==",
  "calls_per_hour": 20,
  "local_presence": "No"
}'
messagestring

Voice campaign created successfully.