Employer Flow
The Employer Flow is a stateful, pre-built UI you can show to HR admins in your application
This Flow encapsulates the end-to-end pre-sale, post-sale and renewal benefits admin cycle:
- Scheduling 1st call with a Benbase broker for quoting
- Final benefits decision
- Open enrollment
- eSign and submission for binding coverage
- Mid-year
- Renewal
Usage
To show the employer flow, first make a POST to the employer flow endpoint
POST /flows/employer
Request params:
employer_id- The ID of the employer within your system (string)employer_name- Public employer name (string)employer_fein- FEIN of the employer (string)
The response will contain the URL of the Employer Flow that you can show in an iFrame.
<iframe src="{{url}}" />
The returned URL is intened to be single use
Sample code
Request
curl -X POST {{API_BASE_URL}}/flows/employer \
-H "Authorization: Bearer {{API_KEY}}" \
-H "Content-Type: application/json" \
-d '{
"employer_id": "34590",
"employer_name": "Moving Parts Inc.",
"employer_fein": "123456789"
}'
Response
{
url: "https://embed.benbase.com/employer?otp=123"
}
iFrame
<iframe src="https://embed.benbase.com/employer?otp=123" />
