VoiceGenie AI
Contact UsBack to VoiceGenie
  • πŸ‘‹Welcome to VoiceGenie AI
  • Overview
    • πŸ’‘VoiceGenie AI Features
  • Product Guides
    • πŸ€–Assistants
      • πŸ—£οΈCreating an Assistant
        • πŸ“œScript
          • 🎬How to write a script
          • πŸ“°Personalizing Script
        • 🎯Goal
        • 🌎Accents and languages
        • πŸ“±Welcome Message
        • 🀡Actions
          • πŸ•ΈοΈWebhooks
          • πŸ€¦β€β™‚οΈTransfer to human
          • Custom SMS
      • 🏹Test an Assistant
      • πŸ“•Clone A assistant
    • πŸ“žPhone Numbers
      • πŸ“²Integrate Phone number
    • πŸ”’Contact List
      • πŸ“”Creating contact List
      • πŸ§‘β€πŸ€β€πŸ§‘Adding Contacts to List
      • πŸͺ›Modifying contacts
    • πŸ’ΈCampaigns
      • πŸ†ŽTypes of Campaign
      • πŸ“€InBound Campaign
      • πŸ“€OutBound Campaign
      • πŸ“ŸStates of a Campaign
      • πŸ“ŠPost Call Analysis
        • πŸ“”Webhook Payload/Response
      • Campaign Scheduling
      • 🚚Deleting a Campaign
      • πŸ“•Clone A Campaign
      • πŸ“”Demo Campaigns
      • πŸ‘¦Actions
        • πŸ“žTransfer To Agent
        • Custom Sms
    • πŸ›‘οΈDynamic Personalization Detailed Explanation.
      • Using dynamic variables
  • πŸ–₯️Developer documentation 1.0
    • πŸ€™add call to a recurring campaign
  • Integrations
    • HubSpot
    • ElevenLabs
    • HighLevel
    • Cal
  • Knowledge Base
    • Creating a Knowledge Base: The First Step to Empowering Your Assistant 🧠✨
    • Adding Content to the Knowledge Base: Build Your Assistant’s Training Arsenal 🧠✨
    • Training Your Knowledge Base: Preparing Your Assistant for Success πŸ§ πŸ’‘
    • Linking a Knowledge Base to an Assistant
Powered by GitBook
On this page

Was this helpful?

  1. Developer documentation 1.0

add call to a recurring campaign

POST add call to campaign

https://core-saas.voicegenie.ai/api/v1/pushCallToCampaign

Payload expects the following keys with headers key for Content-Type as application/json ::

{
    "token": "6756765c0000089955109cda2f0282219", //required
    "workspaceId": "65745g4s73848906c1625f", //required
    "campaignId": "637er13cb-a4f1-4fff-885fc-908asfdfc58", //required
    "customerNumber": "+10000000000", //required
    "customerInformation": { //optional
        "first_name" : "Yawar",
        "last_name" : "mushtaq"
    }
}

cURL request would be::

curl --location 'https://core-saas.voicegenie.ai/api/v1/pushCallToCampaign' \
--header 'Content-Type: application/json' \
--data '{
    "token": "6756765c0000089955109cda2f0282219", 
    "workspaceId": "65745g4s73848906c1625f", 
    "campaignId": "637er13cb-a4f1-4fff-885fc-908asfdfc58", 
    "customerNumber": "+10000000000", 
    "customerInformation": { 
        "first_name" : "Yawar",
        "last_name" : "Mushtaq"
    }
}'
  1. token, workspaceId, campaignId and customerNumber fields and their values must be present and have string types.

  2. customerNumber is the number to be called. This must have country code present with plus sign. and not have any spaces, hyphens , braces or any other chars persent.

    1. An example of accepted number would be "+10909090909"

    2. An example of rejected numbers would be "0909090909" ( missing country code), "09 09009009" (contains space), "(+109)-(090)-(0909)" (contains disallowed characters).

PreviousDeveloper documentation 1.0NextIntegrations

Last updated 2 months ago

Was this helpful?

customerInformation is optional, it has to be an object of strings. It can contain information like first_name, last_name etc that will be used in

πŸ–₯️
πŸ€™
dynamic variables.
https://app.voicegenie.ai/