curl https://api.classet.ai/v2/scripts/3 \
-H "X-API-KEY: your-api-key"
{
"data": {
"id": 3,
"name": "Electrician Screen",
"description": "Screening script for electrician roles",
"default": true,
"completed_text_message": null,
"initial_text_message": null,
"filter_out_criteria": null,
"custom_summary_instructions": null,
"custom_summary_example": null,
"transcript_parsing_instructions": null,
"tasks": [
{
"id": 101,
"task_id": 23,
"name": "Introduction",
"short_name": "Intro",
"description": "When the call starts and the agent greets the candidate",
"regular_description": "This marks the beginning of the call when the agent greets the candidate.",
"order": 1,
"questions": null,
"qualifying_questions": null,
"instructions": "Follow this script to start the call: \"Hi {candidate.firstname}, this is {recruiter_name} from {job.company}...\"",
"removed": false,
"needed_variables": [
"candidate.firstname",
"job.title",
"job.company",
"recruiter_name"
]
},
{
"id": 102,
"task_id": 24,
"name": "AI Introduction",
"short_name": "AI Intro",
"description": "When the agent introduces themselves and the purpose of the call to the candidate",
"regular_description": "Your recruiter introduces themselves as an AI and explains the purpose of the call to the candidate.",
"order": 2,
"questions": null,
"qualifying_questions": null,
"instructions": "Say the following: \"Ok, great! I am an AI-based recruiting assistant...\"",
"removed": false,
"needed_variables": [
"job.company"
]
},
{
"id": 103,
"task_id": 25,
"name": "Sell The Position",
"short_name": "The Sell",
"description": "When the agent gives a brief summary and describes the job",
"regular_description": "Your recruiter gives a brief summary of the company, location, and job details to the candidate.",
"order": 3,
"questions": null,
"qualifying_questions": null,
"instructions": "Say the following: \"The position of {job.title} at {job.company}...\"",
"removed": false,
"needed_variables": [
"job.title",
"job.company",
"job.location.city",
"job.location.region",
"job.employment_type",
"job.wage_type",
"wage_range"
]
},
{
"id": 104,
"task_id": 26,
"name": "Learn the Basics about the Candidate",
"short_name": "Basics",
"description": "When the agent asks some basic background information.",
"regular_description": "Your recruiter asks basic background questions that you define.",
"order": 4,
"questions": [
"How many years of electrical experience do you have?",
"Are you a journeyman or master electrician?"
],
"qualifying_questions": null,
"instructions": "Ask THESE questions: {task.questions}",
"removed": false,
"needed_variables": [
"task.questions"
]
},
{
"id": 105,
"task_id": 27,
"name": "Establish Next Steps",
"short_name": "Next Steps",
"description": "When the agent asks for information for a follow up call",
"regular_description": "Your recruiter collects details on follow-up availability or the candidate's ideal start date.",
"order": 5,
"questions": [
"Are you interested in moving forward with this position?",
"If hired, when would you be able to start?"
],
"qualifying_questions": null,
"instructions": "Confirm the candidate's interest in moving forward... ASK THESE QUESTIONS: {task.questions}",
"removed": false,
"needed_variables": [
"task.questions"
]
}
]
}
}
Scripts
Get Script
Retrieve a script with all tasks, agent settings, and task metadata.
GET
/
v2
/
scripts
/
{scriptId}
curl https://api.classet.ai/v2/scripts/3 \
-H "X-API-KEY: your-api-key"
{
"data": {
"id": 3,
"name": "Electrician Screen",
"description": "Screening script for electrician roles",
"default": true,
"completed_text_message": null,
"initial_text_message": null,
"filter_out_criteria": null,
"custom_summary_instructions": null,
"custom_summary_example": null,
"transcript_parsing_instructions": null,
"tasks": [
{
"id": 101,
"task_id": 23,
"name": "Introduction",
"short_name": "Intro",
"description": "When the call starts and the agent greets the candidate",
"regular_description": "This marks the beginning of the call when the agent greets the candidate.",
"order": 1,
"questions": null,
"qualifying_questions": null,
"instructions": "Follow this script to start the call: \"Hi {candidate.firstname}, this is {recruiter_name} from {job.company}...\"",
"removed": false,
"needed_variables": [
"candidate.firstname",
"job.title",
"job.company",
"recruiter_name"
]
},
{
"id": 102,
"task_id": 24,
"name": "AI Introduction",
"short_name": "AI Intro",
"description": "When the agent introduces themselves and the purpose of the call to the candidate",
"regular_description": "Your recruiter introduces themselves as an AI and explains the purpose of the call to the candidate.",
"order": 2,
"questions": null,
"qualifying_questions": null,
"instructions": "Say the following: \"Ok, great! I am an AI-based recruiting assistant...\"",
"removed": false,
"needed_variables": [
"job.company"
]
},
{
"id": 103,
"task_id": 25,
"name": "Sell The Position",
"short_name": "The Sell",
"description": "When the agent gives a brief summary and describes the job",
"regular_description": "Your recruiter gives a brief summary of the company, location, and job details to the candidate.",
"order": 3,
"questions": null,
"qualifying_questions": null,
"instructions": "Say the following: \"The position of {job.title} at {job.company}...\"",
"removed": false,
"needed_variables": [
"job.title",
"job.company",
"job.location.city",
"job.location.region",
"job.employment_type",
"job.wage_type",
"wage_range"
]
},
{
"id": 104,
"task_id": 26,
"name": "Learn the Basics about the Candidate",
"short_name": "Basics",
"description": "When the agent asks some basic background information.",
"regular_description": "Your recruiter asks basic background questions that you define.",
"order": 4,
"questions": [
"How many years of electrical experience do you have?",
"Are you a journeyman or master electrician?"
],
"qualifying_questions": null,
"instructions": "Ask THESE questions: {task.questions}",
"removed": false,
"needed_variables": [
"task.questions"
]
},
{
"id": 105,
"task_id": 27,
"name": "Establish Next Steps",
"short_name": "Next Steps",
"description": "When the agent asks for information for a follow up call",
"regular_description": "Your recruiter collects details on follow-up availability or the candidate's ideal start date.",
"order": 5,
"questions": [
"Are you interested in moving forward with this position?",
"If hired, when would you be able to start?"
],
"qualifying_questions": null,
"instructions": "Confirm the candidate's interest in moving forward... ASK THESE QUESTIONS: {task.questions}",
"removed": false,
"needed_variables": [
"task.questions"
]
}
]
}
}
Retrieves a script with its agent settings and its full task list, ordered by
order. Each task is one section of the interview. A script made with Create Script starts with the five Basic Interview tasks shown below.
needed_variables lists what a task reads. Only tasks whose needed_variables include task.questions ask the questions you set. The agent-settings fields (initial_text_message, completed_text_message and the others) are null when the script uses the default.
curl https://api.classet.ai/v2/scripts/3 \
-H "X-API-KEY: your-api-key"
{
"data": {
"id": 3,
"name": "Electrician Screen",
"description": "Screening script for electrician roles",
"default": true,
"completed_text_message": null,
"initial_text_message": null,
"filter_out_criteria": null,
"custom_summary_instructions": null,
"custom_summary_example": null,
"transcript_parsing_instructions": null,
"tasks": [
{
"id": 101,
"task_id": 23,
"name": "Introduction",
"short_name": "Intro",
"description": "When the call starts and the agent greets the candidate",
"regular_description": "This marks the beginning of the call when the agent greets the candidate.",
"order": 1,
"questions": null,
"qualifying_questions": null,
"instructions": "Follow this script to start the call: \"Hi {candidate.firstname}, this is {recruiter_name} from {job.company}...\"",
"removed": false,
"needed_variables": [
"candidate.firstname",
"job.title",
"job.company",
"recruiter_name"
]
},
{
"id": 102,
"task_id": 24,
"name": "AI Introduction",
"short_name": "AI Intro",
"description": "When the agent introduces themselves and the purpose of the call to the candidate",
"regular_description": "Your recruiter introduces themselves as an AI and explains the purpose of the call to the candidate.",
"order": 2,
"questions": null,
"qualifying_questions": null,
"instructions": "Say the following: \"Ok, great! I am an AI-based recruiting assistant...\"",
"removed": false,
"needed_variables": [
"job.company"
]
},
{
"id": 103,
"task_id": 25,
"name": "Sell The Position",
"short_name": "The Sell",
"description": "When the agent gives a brief summary and describes the job",
"regular_description": "Your recruiter gives a brief summary of the company, location, and job details to the candidate.",
"order": 3,
"questions": null,
"qualifying_questions": null,
"instructions": "Say the following: \"The position of {job.title} at {job.company}...\"",
"removed": false,
"needed_variables": [
"job.title",
"job.company",
"job.location.city",
"job.location.region",
"job.employment_type",
"job.wage_type",
"wage_range"
]
},
{
"id": 104,
"task_id": 26,
"name": "Learn the Basics about the Candidate",
"short_name": "Basics",
"description": "When the agent asks some basic background information.",
"regular_description": "Your recruiter asks basic background questions that you define.",
"order": 4,
"questions": [
"How many years of electrical experience do you have?",
"Are you a journeyman or master electrician?"
],
"qualifying_questions": null,
"instructions": "Ask THESE questions: {task.questions}",
"removed": false,
"needed_variables": [
"task.questions"
]
},
{
"id": 105,
"task_id": 27,
"name": "Establish Next Steps",
"short_name": "Next Steps",
"description": "When the agent asks for information for a follow up call",
"regular_description": "Your recruiter collects details on follow-up availability or the candidate's ideal start date.",
"order": 5,
"questions": [
"Are you interested in moving forward with this position?",
"If hired, when would you be able to start?"
],
"qualifying_questions": null,
"instructions": "Confirm the candidate's interest in moving forward... ASK THESE QUESTIONS: {task.questions}",
"removed": false,
"needed_variables": [
"task.questions"
]
}
]
}
}
Was this page helpful?