Create and manage exam templates programmatically.
The Exams API allows you to create, update, and manage exam templates. Control questions, time limits, difficulty settings, and more through the API.
/exams| Name | Type | Required | Description |
|---|---|---|---|
| status | string | Optional | Filter by status: active, draft, archived |
| category | string | Optional | Filter by category: coding, personality, interview |
| limit | integer | Optional | Results per page (default: 20, max: 100) |
{
"data": [
{
"id": "exam_abc123",
"title": "Senior Full-Stack Developer",
"category": "coding",
"duration_minutes": 90,
"difficulty": "advanced",
"question_count": 25,
"status": "active",
"created_at": "2024-01-15T10:30:00Z"
}
],
"pagination": { "total": 12, "limit": 20, "has_more": false }
}/exams/{exam_id}/exams| Name | Type | Required | Description |
|---|---|---|---|
| title | string | Required | Exam title |
| category | string | Required | Category: coding, personality, interview |
| duration_minutes | integer | Required | Time limit in minutes |
| difficulty | string | Optional | Difficulty: beginner, intermediate, advanced |
| questions | array | Required | Array of question objects |
curl -X POST https://talentscreens.org/api/v1/exams \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Backend Engineer Assessment",
"category": "coding",
"duration_minutes": 60,
"difficulty": "intermediate",
"questions": [...]
}'/exams/{exam_id}/exams/{exam_id}Was this article helpful?