Skip to main content
POST
Create Email AI Agent

Authorizations

string
required
Enter your ContactSwing JWT Bearer token.

Request Body

string
required
Assistant display name. Example: "My Email Agent"
string
required
Assistant type: "EMAIL"
string
required
LLM model: "cw-llm-1"
string
required
Detailed recruiter instructions and candidate profiles
object
Agent prompts with agent and goal
string
string
string
Knowledge base ID

Email-Specific Settings

string
Response mode: "SEMI_TOUCH"
string
Email role: "Responder"
string
Email labels/categories
string[]
Linked action IDs []

Response

201 Created - Email assistant created successfully
string
Request context ID
object
string
New assistant ID
string
Assistant name
400 Bad Request - Invalid email configuration 401 Unauthorized - Invalid token