Integration1 min read
Dual-Key Authentication & External Handshake
Integrate SabiProfile candidate evaluation into your ATS, HRIS, or portal using the dual-key handshake.
Machine-to-Machine (M2M) API
The SabiProfile M2M API enables enterprise partners, ATS platforms, and visa portals to query consented candidate records and run automated criteria evaluations programmatically.
The Dual-Key Handshake
To prevent unauthorized data access and protect candidate sovereignty, external API queries require two distinct cryptographic credentials:
- Organization API Key (`X-Sabi-Org-Key`): Identifies and authenticates your organization. Generated inside your organization dashboard under API & Developer Keys.
- Candidate Scoped Key (`Authorization: Bearer sbk_live_...`): The private access key granted by the candidate, encoding the permitted categories and expiration window.
bash
# Standard M2M Request Headers
curl -X POST https://www.sabiprofile.com/api/v1/m2m/query \
-H "Content-Type: application/json" \
-H "X-Sabi-Org-Key: sok_live_9f83a84b12c8..." \
-H "Authorization: Bearer sbk_live_v1_eyJhbGci..." \
-d '{"categories": ["academics", "experience"]}'
Rate Limits & Status Codes
- Standard enterprise accounts support up to 60 requests per minute.
- Responses return standard HTTP status codes:
200 OK: Request successful; returns requested data.401 Unauthorized: Missing or invalid organization API key.403 Forbidden: Candidate key expired, revoked, or requested category outside granted scope.429 Too Many Requests: Rate limit exceeded. Check theRetry-Afterheader.