POST /v1/external/campaigns/{agent_id}
Changed onCreates a draft outbound campaign for the specified agent. The agent must belong to your organization.
Request
- Base URLhttps://api.samora.ai
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
agent_idstring uuid required
The UUID of the AI agent that owns the campaign.
Request body
Example request
{
"retry_config": {
"max_retries": 2,
"retry_delay_minutes": 30,
"retry_on": [
"UNANSWERED",
"REJECTED",
"VOICEMAIL"
]
}
}Response
Campaign created successfully
Changes
- breaking
the
/request property's min was increased to1.00 - breaking
the
/request property's minItems was increased to1 - warning
the
request property's maxLength was set to120 - warning
the
/request property's max was set to5.00 - warning
the
/request property's max was set to1440.00
- breaking
- breaking
removed the required property
from the response with the status - warning
removed the request property
- warning
removed the request property
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the required property
to the response with the status
- breaking