BenefitsEdge API — Developer Portal

Staging / sandbox only. Operators: use admin call logs for full history.

Getting started

Authentication: Authorization: key <API_KEY> (obtain from ops; never commit secrets).

Encryption: POST bodies use AES-GCM JSON: { "ciphertext", "iv" } wrapping inner JSON. Key: deployment API_AES_KEY (autopopulated below in staging).

SAML init: POST /v1/api/saml/init → browser opens GET /v1/hold/:token → auto-post SAML to vendor ACS.

Sample inner payloads: nyl-saml-init-inner.json, metlife-saml-init-inner.json

Architecture docs (repo): docs/api/README.md

Playground — SAML init

Prefer employee details (platform, accountKey, employee); legacy clientDetails still works. Key casing does not matter — the API lowercases keys on receive. This page encrypts your JSON as typed.

Payload:

Staging autopopulates the deployment key. Encryption runs in the browser; the key is not POSTed for encrypt.

Enter a valid AES key to preview the request body.
Skip SAML build; return placeholder redirect URL
Send a request to see the response.

Playground — Reverse converter

Paste a vendor document — MetLife LIMRA Intake JSON or NYL EnrollConsumer XML (bare or inside a SOAP envelope). The server reverses it to the internal enroll JSON and verifies the round trip (vendor → JSON → vendor). Data that does not survive the cycle is listed in red as dropped; changes from known transforms (PendingAmount math, blank omission, generated GUIDs, defaults) are amber warnings with the reason.

Recent API calls (last 10)

TimeMethodRouteIntegration APIIntegrationms
2026-11-24T15:50:48Z POST /v1/api/saml/init newyorklife 200 200 1886
2026-11-24T15:50:01Z POST /v1/api/saml/init newyorklife 200 200 13088
2026-11-23T18:54:20Z POST /v1/api/saml/init newyorklife 200 200 57223
2026-11-23T18:43:06Z POST /v1/api/saml/init metlife 400 — 94
2026-11-23T18:17:19Z POST /v1/api/saml/init metlife 400 — 62
2026-11-23T18:01:55Z POST /v1/api/saml/init metlife 400 — 66
2026-11-23T16:11:47Z POST /v1/api/saml/init newyorklife 200 200 25496
2026-11-20T21:17:02Z POST /v1/api/saml/init newyorklife 200 200 8213
2026-11-20T21:00:57Z POST /v1/api/saml/init newyorklife 200 200 10463
2026-11-20T18:29:08Z POST /v1/api/saml/init newyorklife 200 200 6011

Call log refreshes in the background every 30s (playground state is kept). API 2xx + integration 4xx/5xx highlighted.