Pre-Requisites
To begin using the Classet API, you must have:- Access to a Classet Account — There are a few steps that must be taken through our UI in order to fully leverage our API to kick off AI Recruiter calls and ingest their outcomes. Reach out to success@classet.ai if you need one.
- [Optional] Add FAQs — If you’re interested in seeing how your AI recruiter can handle one-off questions that aren’t in your job description, head over to the settings page and add a few FAQs to your interview script!
1. Create your API key
In order to access the Classet AI API, you’ll need to create and store your own API Key. Head over to Developer Settings in the Classet app and create a new key.2. Create an interview script
You can use the Scripts endpoint to create a new interview script. This will return ascript_id and set up a basic interview script. Key questions by task name or short name, such as Basics and Next Steps. A key that matches no task is ignored. Create Script lists the task names.
You can also create and update scripts via the dashboard.
[Optional] Review or update your script
Each script is comprised of a collection of tasks. Retrieving scripts will return the details of those tasks, which include information like what questions to ask. If you’d like to customize the questions, you can do so by updating a script’s task.3. Create a Job
Create a job with a detailed job description and any FAQs, so that your AI Recruiter will have relevant job details to reference on the call. Be sure to include thescript_id of your newly created script — this is the script that will be used for this specific job.
4. Send your first interview
Initiate an interview with the Create Candidate endpoint. You can return an interview link for your own communication channels or ask Classet to send SMS and email outreach.Option 1: Create an interview link
Create a candidate without passing insend_sms and send_email. The response will return the webcall_url, which you can use in your own communication or outreach process.
Option 2: Send the interview via the messaging assistant
Include optional parameterssend_sms and/or send_email set to true to automatically trigger candidate outreach using our messaging assistant. We recommend both for optimal completed interview conversion.
SMS + Phone Call
Candidates will be reached out through Text/SMS and then the interview will take place through a phone call.
Email + Web Call
Candidates will be reached out through Email and then the interview will take place on a web call from a unique interview link.
5. Receiving the outcome
Polling is the supported completion path during the dark-launch pilot. Periodically call Get Interview untilstatus is completed, then read outcome, summary, question_answers, and custom_data.