Integrează date de conformitate SSM/PSI direct în sistemele tale ERP, HR sau de raportare folosind REST API-ul public cu autentificare prin API key.
Autentificare simplă cu X-API-Key header. Rate limiting 100 req/min.
Endpoints pentru angajați, instruiri, alerte, documente și conformitate.
Notificări în timp real pentru 17+ tipuri de evenimente.
Client TypeScript oficial cu tip-uri complete și autocomplete.
Toate request-urile API necesită un API Key valid în header-ul X-API-Key. Generează chei din Dashboard → Settings → API Keys.
Rate Limit
100 req/minut
Format
ssm_pk_...
Versiune API
v1 (stabil)
curl -X GET "https://app.alciv.ro/api/v1/employees" \
-H "X-API-Key: ssm_pk_your_key_here" \
-H "Accept: application/json"
# Response envelope:
# {
# "success": true,
# "data": [...],
# "meta": { "page": 1, "limit": 20, "total": 150, "total_pages": 8 }
# }import { createSsmClient } from './sdk'
const ssm = createSsmClient({ apiKey: 'ssm_pk_...' })
// Employees
const { data } = await ssm.employees.list({ is_active: true })
// Compliance score
const { data: score } = await ssm.compliance.score('org-id')
// Register webhook
await ssm.webhooks.register({
url: 'https://your-app.com/webhook',
events: ['employee.created', 'alert.triggered'],
})Angajați
Instruiri
Medical
Echipamente
Alerte
Conformitate
Documente
Organizație