Overview
Create a new job posting that automatically generates AI-powered assessments. Jobs created via API have the same features as those created in the dashboard.
Request
Job title (e.g., “Senior Software Engineer”)
Department name (e.g., “Engineering”, “Sales”, “Marketing”)
Job location details Location type: remote
, hybrid
, or onsite
City name (required for onsite/hybrid)
State/Province (required for onsite/hybrid)
Country code (ISO 3166-1 alpha-2)
Full job description (supports Markdown)
Required skills for the position
Experience level: entry
, mid
, senior
, lead
, or executive
Employment type: full_time
, part_time
, contract
, or internship
Salary information Currency code (e.g., “USD”, “EUR”)
Pay period: hourly
, monthly
, or yearly
Assessment configuration Automatically generate assessment questions
Number of questions (5-20)
Time limit in seconds (300-1800)
Enable anti-cheating proctoring
Types of questions: ranksort
, multiple_choice
, scenario
Publish immediately after creation
Response
The created job object Job status: draft
, active
, paused
, or closed
Public URL for candidates to apply
Response metadata Unique request identifier for debugging
assessment_generation_time
Time taken to generate assessment (ms)
Examples
curl -X POST https://api.hirepanda.com/api/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Senior Software Engineer",
"department": "Engineering",
"location": {
"type": "remote",
"country": "US"
},
"description": "We are looking for a Senior Software Engineer...",
"requirements": [
"5+ years of experience",
"Strong JavaScript skills",
"React expertise"
],
"skills": ["JavaScript", "React", "Node.js", "TypeScript"],
"experience_level": "senior",
"employment_type": "full_time",
"salary": {
"min": 120000,
"max": 180000,
"currency": "USD",
"period": "yearly"
},
"assessment_config": {
"auto_generate": true,
"question_count": 10,
"time_limit": 300,
"question_types": ["ranksort", "multiple_choice"]
},
"publish": true
}'
Response Example
{
"data" : {
"id" : "job_abc123" ,
"title" : "Senior Software Engineer" ,
"department" : "Engineering" ,
"location" : {
"type" : "remote" ,
"country" : "US"
},
"status" : "active" ,
"assessment_id" : "asmt_xyz789" ,
"application_url" : "https://apply.hirepanda.com/abc123" ,
"candidate_count" : 0 ,
"created_at" : "2024-01-15T10:30:00Z" ,
"updated_at" : "2024-01-15T10:30:00Z"
},
"meta" : {
"request_id" : "req_def456" ,
"assessment_generation_time" : 4523
}
}
Error Responses
{
"error" : {
"code" : "validation_error" ,
"message" : "Invalid request parameters" ,
"details" : {
"title" : "Title is required" ,
"description" : "Description must be at least 100 characters"
}
}
}
{
"error" : {
"code" : "unauthorized" ,
"message" : "Invalid or missing API key"
}
}
{
"error" : {
"code" : "rate_limited" ,
"message" : "Too many requests" ,
"retry_after" : 3600
}
}
Webhooks
After creating a job, you can receive webhooks for:
job.created
- Job successfully created
assessment.generated
- AI assessment ready
application.received
- New candidate applied
assessment.completed
- Candidate finished assessment
Configure webhooks →
Next Steps