Developer
developer
api
headless
Headless API integration (overview)
Knowledge Base
Understanding results
2Developer
1Trust & privacy
1Partner program
1Headless API integration (overview)
If you want to build your own assessment UI (web/mobile) and integrate with B5.ly via API:
- Interactive reference:
/developer/b5plus-v2.reference.html - OpenAPI spec:
/developer/b5plus-v2.openapi.yaml - Postman collection:
/developer/b5plus-v2.postman.json - Partner integration guide:
/developer/b5plus-partner-headless-guide.md
Recommended workflow:
- Start assessment session (v1)
- Fetch items and render questions
- Submit answers and finalize to get
resultId - Create paid report (v2) to get
reportId - Fetch report JSON and render results
Portal visibility:
- In the Partner Portal, view an audit trail of paid report purchases (credit debits + Report IDs + Result IDs) at
/portal/activity(Report IDs link to the portal report view). Use the Source filter (All / Portal / API) and Export CSV for reconciliation. - Result ID maps to the
resultIdreturned by the headless flow (sometimes surfaced asextResultId/ext_result_id). - Customers/Lists/Reports in the portal are invite/list-driven; headless API calls won’t create those rows automatically, so API-generated reports may not include name/email/list/package in the portal (a placeholder like
API-<ResultID>may be shown where needed). - Store
partnerUserRef,resultId, andreportIdin your system if you need customer-level reconciliation.