Agents
Create a campaign agent
Create a reusable Campaign Manager agent that defines the answer URL, hangup URL, and static SIP headers used for every call in a campaign.
POST
Create a campaign agent
Authentication required
X-Auth-ID— your Vobiz account IDX-Auth-Token— your Vobiz auth token
string
required
Your Vobiz account ID. Use the same value in
X-Auth-ID.string
required
Your Vobiz account ID, for example
MA_XXXXXXXX.string
required
Agent name. Unique per account, maximum 100 characters.
string
required
HTTPS URL called when the contact answers. Must return Vobiz XML.
string
default:"POST"
HTTP method for
answer_url. GET or POST.string
URL called when the call ends.
string
default:"POST"
HTTP method for
hangup_url. GET or POST.array
Array of
{ key, value } objects sent as SIP headers on every call placed by this agent.Example
cURL
Response
201 Created
id and pass it as agent_id when you create a campaign.
A launch takes a frozen agent snapshot. Editing an agent does not change campaigns that are already
running or queued — the next launch uses the updated values.