Powerful API for Developers
Integrate NiceHire's AI-powered hiring capabilities into your applications with our comprehensive REST API and webhooks.
Documentation
Getting Started
Authentication
All API requests require authentication using your API key. Include it in the Authorization header:
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.nicehire.ai/v1/interviews Base URL
https://api.nicehire.ai/v1Rate Limiting
API requests are limited to 1000 requests per hour per API key. Rate limit headers are included in all responses.
Core Endpoints
/v1/interviewsCreate a new AI interview session for a candidate.
Request Body:
{
"candidate": {
"name": "John Doe",
"email": "john@example.com"
},
"position": {
"title": "Software Engineer",
"requirements": ["JavaScript", "React", "Node.js"]
},
"interview_type": "technical",
"duration_minutes": 30
}/v1/jobsRetrieve a list of all job postings for your organization.
Response Example:
{
"jobs": [
{
"id": "job_123",
"title": "Senior Frontend Developer",
"status": "active",
"applications_count": 42,
"created_at": "2024-01-15T10:30:00Z"
}
],
"total": 15,
"page": 1
}/v1/candidates/{id}Retrieve detailed information about a specific candidate, including AI analysis results.
Webhooks
Receive real-time notifications when events occur in your NiceHire account.
Available Events
interview.completedTriggered when an AI interview session is completed
interview.scheduledTriggered when a live interview is scheduled
application.receivedTriggered when a new job application is submitted
candidate.analyzedTriggered when AI analysis of a candidate is complete
job.publishedTriggered when a new job posting is published
offer.sentTriggered when a job offer is sent to a candidate
Webhook Setup
curl -X POST https://api.nicehire.ai/v1/webhooks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app.com/webhooks",
"events": ["interview.completed", "application.received"]
}' Official SDKs
Use our official SDKs to integrate NiceHire quickly into your applications.
Interactive API Explorer
Test our API endpoints directly in your browser with our interactive explorer. No setup required!
