> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started

> This page will help you get started with the Classet AI Recruiter API.

Welcome to the Classet Developer portal! Below we'll explain how to get setup integrating Classet. Here's a quick video from our co-founder, Cooper, that gives an overview on how Classet works:

[Classet Overview](https://www.youtube.com/embed/7BE47551DfQ)

Follow the steps below in order to test your first AI voice call via the API. (Typically takes 15-30 minutes)

## Pre-Requisites

To begin using the Classet API, you must have:

1. **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](mailto:success@classet.ai) if you need one.
2. **\[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](https://app.classet.ai/settings/developers) and create a new key.

## 2. Create an interview script

You can use the [Scripts endpoint](/docs/api-reference/scripts/create-script.md) to create a new interview script. This will return a `script_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](/docs/api-reference/scripts/create-script.md) lists the task names.

> [!NOTE]
>
> You can also create and update scripts via the dashboard.

```bash theme={null}
curl -X POST https://api.classet.ai/v2/scripts \
  -H "X-API-KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "HVAC Technician Screen",
    "description": "Screening script for HVAC technician roles",
    "questions": {
      "Basics": [
        "How many years of HVAC experience do you have?",
        "Are you EPA 608 certified?"
      ],
      "Next Steps": [
        "Are you available to start within two weeks?",
        "Do you have reliable transportation?"
      ]
    }
  }'
```

### \[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](/docs/api-reference/scripts/update-task.md).

```bash theme={null}
curl https://api.classet.ai/v2/scripts/{scriptId} \
  -H "X-API-KEY: your-api-key"
```

## 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 the `script_id` of your newly created script — this is the script that will be used for this specific job.

> [!WARNING]
>
> If `script_id` is omitted, your organization must already have a default script. Otherwise job creation returns a validation error.

```bash theme={null}
curl -X POST https://api.classet.ai/v2/jobs \
  -H "X-API-KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "HVAC Technician",
    "description": "Install, maintain, and repair HVAC systems...",
    "location": {
      "city": "Denver",
      "region": "Colorado",
      "workplace_type": "onsite"
    },
    "script_id": 12,
    "faqs": [
      {
        "question": "Is EPA certification required?",
        "answer": "Yes, EPA 608 certification is required."
      }
    ]
  }'
```

## 4. Send your first interview

Initiate an interview with the [Create Candidate](/docs/api-reference/candidates/create-candidate.md) 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 in `send_sms` and `send_email`. The response will return the `webcall_url`, which you can use in your own communication or outreach process.

```bash theme={null}
curl -X POST https://api.classet.ai/v2/candidates \
  -H "X-API-KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Jane",
    "last_name": "Smith",
    "phone": "+14155551234",
    "email": "jane@example.com",
    "job_id": "your-job-id"
  }'
```

```json theme={null}
{
  "data": {
    "candidate_id": "Xk3pQ9vT2mLr8bNc4Hd1s",
    "call_id": null,
    "webcall_url": "https://call.classet.ai/call/Xk3pQ9vT2mLr8bNc4Hd1s",
    "interview_panel_url": "https://call.classet.ai/interview-panel/Xk3pQ9vT2mLr8bNc4Hd1s"
  }
}
```

### Option 2: Send the interview via the messaging assistant

Include optional parameters `send_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.

> [card] SMS + Phone Call
>
> Candidates will be reached out through Text/SMS and then the interview will take place through a phone call.

> [card] 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.

From here, the candidate will receive a text message and/or email to start their interview screen.

## 5. Receiving the outcome

Polling is the supported completion path during the dark-launch pilot. Periodically call [Get Interview](/docs/api-reference/candidates/get-interview.md) until `status` is `completed`, then read `outcome`, `summary`, `question_answers`, and `custom_data`.

```bash theme={null}
curl https://api.classet.ai/v2/candidates/{candidateId}/interview \
  -H "X-API-KEY: your-api-key"
```

Use exponential backoff and persist the last successful sync time. Event webhooks remain a limited beta and are not required for the pilot.

## We're here to help!

If you ever bump into an issue, need help troubleshooting, or have feedback for how we can improve our API, reach out to [success@classet.ai](mailto:success@classet.ai) or via your dedicated Slack channel.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.