Start Application
The start application endpoint can be used to start an application for a certain personal plan. It is especially helpful for more sophisticated API integrations where you have your own interface to visualize policies and want to process applications either through an embed in your own environment or through linking out to a White Swan hosted policy application page.
API Method:
Start Application
POST
https://app.whiteswan.io/api/1.1/wf/start_application
Initiates an application for a particular personal plan under a plan request.
Headers
Authorization*
String
Bearer <YOUR API KEY>
Content-Type*
String
application/json
Accept*
String
application/json
user-agent*
String
<YOUR APP>
Request Body
JSON Body*
Object
See specification below
Code Examples - Making the API Call:
curl -X POST "https://app.whiteswan.io/api/1.1/wf/start_application" \
-H "Authorization: Bearer <YOUR API KEY>" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "User-Agent: <YOUR APP>" \
-d '{
"plan" : "1755826501569x292619937398346240"
}'
Body Parameters Specification:
Plan
plan
Text
1755962938878x653642511385623700
The ID of the plan to start an application for.
Returned Parameters Specification:
White Swan Application URL
url_to_apply
Text
https://app.whiteswan.io/apply/1756132113128x587035433367457300
The URL or the White Swan hosted page that can be used to process the application.
Application Embedding Code
embed_code
Escaped HTML
<div id=\"container-id\"></div><script id=\"strife\" src=\"https://cdn.quoteandapply.io/widget.js?prefill&eapp_id=447406&eapp_uuid=a4e283c1-8b37-4b58-a695-dbbf244e7d7d&products=[]#resume=WGFiMXY3ejdGRUVzVmxHYVZ0NEFTendybFh3SFRrdEdUTk9pL3M1SzZzS3RvYWthekpocEVMeGd4eWJVQS83SjllUVo0N2pZRm16Zi9WSEd4ZWxQUVduTWdtRkNMRWZmZDJseTN2MS84eENTTk50d0RNK2tXSXBiYTl6eC0tVW8rS3c1U1BQQ3ZnQ25YSC0tZXl0REtocEVNNU5LOGw0MGNOYmNvQT09\" data-strife-key=\"Omd010LUl8Yca9g3\" data-strife-container-id=\"container-id\"></script>
HTML code that you can use to embed an application form in your own environment. Beware that the HTML is escaped so that it can safely be passed inside a JSON body and that you should unescape it before using it in your own environment.
Linked Plan Request ID
linked_plan_request
Text
1755962937306x171818994560791740
The ID of the plan request that is associated with this policy search.
Policy Type
policy_type
Multiple-choice
Term Life
The policy type associated with this policy search.
Goal
goal
Multiple-choice
Protection
The goal of this policy search.
Death Benefit
death_benefit
Number
1000000
The amount of death benefit sought after in this policy search.
Premium Budget
premium_budget
Number
1000
The target premium budget associated with this policy search.
Policies
policies
Personal Plan Object List
-
A list of the policies found for this policy search. See full data structure of policy objects on the Personal Plan page.
Error Message
error_message
Text
-
If we had any errors with finding policies based on the input for this policy search, you can access details here.
Last updated
Was this helpful?