Overview
Grapphen is a multi-tenant system. Four services share data through REST endpoints, webhooks and real-time WebSocket channels.
- Grapphen ATS
- Candidate sourcing, job description parsing, pipeline stage automation and candidate dispatch.
- Grapphen Vox
- Tier-1 SIP trunking with STIR/SHAKEN, softphone token issuance, 10DLC SMS and call flip.
- Grapphen Rooms
- Low-latency media server, collaborative code sandbox, proctoring and RTMP recording.
- Grapphen Mail
- Sending domains with 2048-bit DKIM, automatic SPF, DMARC and BIMI checks, and warm-up schedules.
Authentication
Every request uses HTTP bearer authentication with an API token and must be sent over HTTPS.
| Header | Value | Description |
|---|---|---|
Authorization | Bearer <YOUR_API_TOKEN> | Required. A master or tenant-specific API token. |
X-Tenant-ID | tenant_org_9283fa | Required for multi-tenant accounts, to scope the request to one tenant. |
X-Grapphen-Secret | <ECOSYSTEM_SSO_SECRET> | Required for single sign-on handshakes between Vox, Rooms and Mail. |
Grapphen ATS API
Parse resumes and job descriptions into structured data, create candidates and dispatch submissions.
POST/api/ecosystem/ats/parse-jd
Job description parsing
Extracts structured requirements, tech stack, salary bands and security clearance criteria from a raw job description.
{
"title": "Senior Cloud Systems Architect",
"description": "Looking for a cloud architect with 7+ years of Kubernetes, Terraform, and SOC 2 compliance...",
"department": "Infrastructure"
}POST/api/ecosystem/ats/parse-resume
Resume parsing
Uploads a resume (PDF, DOCX or TXT) and returns structured contact details, education, work experience and verified skills.
POST/api/ecosystem/ats/create-candidate
Create candidate
Adds a candidate profile to the talent database, or links it to an open requisition.
Grapphen Vox API
Issue softphone tokens, send 10DLC-registered SMS, hand calls between devices and read call summaries from the voice agent.
GET/api/token
Softphone token
Issues a signed softphone access token, valid for 45 minutes, for browser and mobile softphones.
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.t-78abx92...",
"identity": "agent_alex_ext_104",
"expires_in": 2700
}POST/api/mobile/sms/send
Send SMS
Sends a two-way business text message, with automatic STOP and UNSUBSCRIBE compliance checks.
POST/api/call/flip
Call flip
Moves an active call between the mobile softphone (iOS or Android) and the desktop browser without dropping it.
Grapphen Rooms API
Create technical interview rooms with a shared code editor, live audio and video, and proctoring data.
POST/api/v1/meetings
Create room
Creates an interview room with an isolated code execution sandbox (Python, Node.js, Go, Java, Rust, C++).
GET/api/v1/meetings/{id}/artifacts
Room artifacts
Returns the candidate's code test results, whiteboard drawings and gaze-tracking proctoring metrics.
Grapphen Mail API
Manage sending domains, verify DNS records (SPF, 2048-bit DKIM, DMARC, BIMI and MTA-STS) and send transactional and campaign email.
POST/api/v1/domains/{id}/verify
Verify domain
Queries the authoritative name servers to validate SPF, the DKIM selector, a DMARC reject or quarantine policy, and BIMI certificates.
POST/api/v1/emails/send
Send email
Queues an email for delivery, with optional tracking pixels and open and click events.
Webhooks and signatures
Subscribe to events from any Grapphen product. Every delivery carries an X-Grapphen-Signature header: an HMAC-SHA256 of the raw payload, signed with your webhook secret. Compare it with your own signature before trusting the payload.
// Node.js example
const crypto = require('crypto');
function verifyWebhook(rawPayload, headerSignature, webhookSecret) {
const expectedSignature = crypto
.createHmac('sha256', webhookSecret)
.update(rawPayload)
.digest('hex');
return crypto.timingSafeEqual(
Buffer.from(headerSignature),
Buffer.from(expectedSignature)
);
}Event types
| Event | Sent when |
|---|---|
ats.candidate.created | A candidate profile is created. |
ats.application.status_changed | An applicant moves to another hiring stage. |
vox.call.completed | A call ends. Includes the duration, recording URL and transcript. |
vox.sms.received | An SMS arrives on a tracked phone number. |
rooms.meeting.ended | An interview ends. Includes the code execution summary and report. |
mail.message.deliveredmail.message.bounced | A message is delivered or bounces. |
Code samples
The same request in four languages: check a sender address against your tenant.
curl -X POST "https://api.grapphen.com/v1/ecosystem/ats/check-sender" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "X-Tenant-ID: your-org-slug" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'import requests
url = "https://api.grapphen.com/v1/ecosystem/ats/check-sender"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"X-Tenant-ID": "your-org-slug",
"Content-Type": "application/json"
}
payload = {"email": "[email protected]"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())const axios = require('axios');
async function checkSender() {
const res = await axios.post('https://api.grapphen.com/v1/ecosystem/ats/check-sender', {
email: '[email protected]'
}, {
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'X-Tenant-ID': 'your-org-slug'
}
});
console.log(res.data);
}
checkSender();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.grapphen.com/v1/ecosystem/ats/check-sender",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(["email" => "[email protected]"]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_API_TOKEN",
"X-Tenant-ID: your-org-slug",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;Rate limits
Endpoints use token-bucket rate limiting.
| Endpoint type | Default quota | Burst limit |
|---|---|---|
| Standard REST (ATS, Mail, Vox) | 120 requests / min | 200 requests / min |
| Resume and job description parsing | 30 requests / min | 50 requests / min |
| Softphone token issuance | 60 requests / min | 100 requests / min |