🦢
White Swan for Partners
Go to AppGet in Touch
  • White Swan for Partners Knowledge Base
  • 💡Platform Overview
    • Introduction to White Swan for Partners
    • Platform Capabilities
      • Digital Insurance Experiences
      • Supported Product Types
      • Supported Solution Types
      • Best-Interest Philosophy
      • Client Success Managers & Advanced Planning
    • Quick Start Guide
    • Using the Platform
      • White Labeling
      • Instant vs Custom Quotes
      • Page Types Overview
      • Sharing Pages
      • Customizing Pages
      • Custom Cases
      • Tracking Cases
      • General Company Settings
      • Policy Solve For Options
    • Client Experience
      • Guided vs Quick Quote Flow
      • Policy Type Recommendation Engine
      • Sample Plan Visualizations
      • Personal Plan Requests
      • Personal Plans
      • Applications
      • Underwriting & Issuance
    • Page
    • Plans to Access Platform
      • Concierge Plan
      • Digital Agent Plan
      • Innovator Plan
    • Instantly Quotable Carriers/Policies
    • Earnings
      • Understand Life Compensation & Our Philosophy
      • Activating Earnings
      • Licensing Considerations
      • Tracking Earnings
    • Platform Roadmap
    • Submit A Feature Request
  • 💻Embedding White Swan
    • Overview of White Swan Embed
    • Quick Start Guide
    • Using Embed + API/Zapier
  • ⚡Zapier Integration
    • Overview of Zapier Integration
    • Quick Start Guide
    • Example Use Cases
      • Integrate With CRMs
      • Integrate With Accounting/Payroll Tools
      • Integrate With Marketing Platforms
      • Integrate With Business Intelligence/Analytics Tools
      • Integrate With App/Website Builders
    • Data Formatting Standards
    • Triggers
      • New Plan Request Started
      • Plan Request Finished
      • New Personal Plan
      • New Change Request
      • New Application Started
      • Application Finished
      • New Plan Offered
      • New Plan Delivered
      • New Earnings Event
    • Create Actions
      • Start Personal Plan Request
      • Submit Complete Plan Request
      • Create Pre-Fill Information
    • Search Actions
      • Plan Request(s)
      • Personal Plan(s)
      • Referred Client(s)
      • Account User(s)
      • Earnings Event(s)
    • Using ChatGPT To Create Zaps
  • ✨AI Landing Page Builder
    • Overview of AI Landing Page Builder
    • Generate Landing Pages With AI
    • Editing Landing Pages
  • ⚙️API Documentation
    • Overview of White Swan's API
    • Authentication
    • Data & API Standards
    • Webhooks
      • Creating/Managing Webhooks
      • New Plan Request Started
      • Plan Request Finished
      • New Personal Plan
      • New Change Request
      • New Application Started
      • Application Finished
      • New Plan Offered
      • New Plan Delivered
      • New Earnings Event
    • Action Calls
      • Start Personal Plan Request
      • Submit Complete Plan Request
      • Create Pre-Fill Information
    • Information Calls
      • Plan Request(s)
      • Personal Plan(s)
      • Referred Client(s)
      • Account User(s)
      • Earnings Event(s)
  • ⛳BackNine Integration
    • Overview of BackNine Integration
    • Quick Start Guide
    • Capabilities
      • Instant Quotes
      • Instant Applications
      • Case Support
  • 💹Wealthbox Integration
    • Overview of Wealthbox Integration
    • Quick Start Guide
    • Capabilities
      • Import Contact from Wealthbox
      • Search Wealthbox Contacts in White Swan
      • Start a Plan Request
    • Notification Settings
  • Other Direct Integrations
    • Paperclip
Powered by GitBook
On this page

Was this helpful?

  1. API Documentation
  2. Information Calls

Personal Plan(s)

PreviousPlan Request(s)NextReferred Client(s)

Last updated 1 year ago

Was this helpful?

This action retrieves information about . It's essential to note that all personal plans are intrinsically associated with a .

Every piece of information returned in this action is also readily available via the .

API Method:

Fetch Personal Plan(s)

POST https://app.whiteswan.io/api/1.1/wf/personal_plan

Returns information about personal plans associated with your White Swan account.

Headers

Name
Type
Description

Authorization*

String

Bearer <YOUR API KEY>

Content-Type*

String

application/json

Accept*

String

application/json

user-agent*

String

<YOUR APP>

Request Body

Name
Type
Description

JSON Body*

Object

See specification below

Sample Body Payload
{
"plan_id":"231085x32086",
"user_email": "john@doe.com",
"client_email": "jane@gmail.com"
}

Please note that the sample body payload above contains all possible parameters for your reference. In an actual call, you don't need to use all (or any) parameters.

Code Examples - Making the API Call:

curl -X POST "https://app.whiteswan.io/api/1.1/wf/personal_plan" \
     -H "Authorization: Bearer <YOUR API KEY>" \
     -H "Content-Type: application/json" \
     -H "Accept: application/json" \
     -H "User-Agent: <YOUR APP>" \
     -d '{
               "plan_id":"231085x32086",
               "user_email": "john@doe.com",
               "client_email": "jane@gmail.com"
          }'
import requests

url = "https://app.whiteswan.io/api/1.1/wf/personal_plan"
headers = {
    "Authorization": "Bearer <YOUR API KEY>",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "User-Agent": "<YOUR APP>"
}

data = {
    "plan_id":"231085x32086",
    "user_email": "john@doe.com",
    "client_email": "jane@gmail.com"
}

response = requests.post(url, headers=headers, json=data)
print(response.json())
const url = "https://app.whiteswan.io/api/1.1/wf/personal_plan";
const headers = {
    "Authorization": "Bearer <YOUR API KEY>",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "user-agent": "<YOUR APP>"
};
const data = {
    "plan_id":"231085x32086",
    "user_email": "john@doe.com",
    "client_email": "jane@gmail.com"
};

fetch(url, {
    method: "POST",
    headers: headers,
    body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
import okhttp3.*;

public class WhiteSwanApiCall {

    public static void main(String[] args) {
        OkHttpClient client = new OkHttpClient();

        MediaType mediaType = MediaType.parse("application/json");
        RequestBody body = RequestBody.create(mediaType, "{\"plan_id\":\"231085x32086\",\"user_email\":\"john@doe.com\",\"client_email\":\"jane@gmail.com\"}");

        Request request = new Request.Builder()
            .url("https://app.whiteswan.io/api/1.1/wf/personal_plan")
            .post(body)
            .addHeader("Authorization", "Bearer <YOUR API KEY>")
            .addHeader("Content-Type", "application/json")
            .addHeader("Accept", "application/json")
            .addHeader("user-agent", "<YOUR APP>")
            .build();

        try {
            Response response = client.newCall(request).execute();
            System.out.println(response.body().string());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
<?php

$ch = curl_init();

$data = array(
    "plan_id" => "231085x32086",
    "user_email" => "john@doe.com",
    "client_email" => "jane@gmail.com"
);

$headers = array(
    "Authorization: Bearer <YOUR API KEY>",
    "Content-Type: application/json",
    "Accept: application/json",
    "user-agent: <YOUR APP>"
);

curl_setopt($ch, CURLOPT_URL, "https://app.whiteswan.io/api/1.1/wf/personal_plan");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$response = curl_exec($ch);

if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
} else {
    echo $response;
}

curl_close($ch);
?>
require 'net/http'
require 'json'
require 'uri'

uri = URI.parse("https://app.whiteswan.io/api/1.1/wf/personal_plan")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

headers = {
  'Authorization' => 'Bearer <YOUR API KEY>',
  'Content-Type' => 'application/json',
  'Accept' => 'application/json',
  'User-Agent' => '<YOUR APP>'
}

data = {
    plan_id: "231085x32086",
    user_email: "john@doe.com",
    client_email: "jane@gmail.com"
}

request = Net::HTTP::Post.new(uri.path, headers)
request.body = data.to_json

response = http.request(request)
puts response.body
package main

import (
	"bytes"
	"fmt"
	"net/http"
)

func main() {
	url := "https://app.whiteswan.io/api/1.1/wf/personal_plan"
	data := `{
    			"plan_id":"231085x32086",
    			"user_email": "john@doe.com",
    			"client_email": "jane@gmail.com"
		}`

	req, err := http.NewRequest("POST", url, bytes.NewBuffer([]byte(data)))
	if err != nil {
		panic(err)
	}

	req.Header.Set("Authorization", "Bearer <YOUR API KEY>")
	req.Header.Set("Content-Type", "application/json")
	req.Header.Set("Accept", "application/json")
	req.Header.Set("User-Agent", "<YOUR APP>")

	client := &http.Client{}
	resp, err := client.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	fmt.Println("Response Status:", resp.Status)
}

Code examples are available in cURL, Python, Javascript, Java, PHP, Ruby, and Go, but can be constructed for other languages and tools. Some code examples include dependencies that may need to be installed in your codebase to ensure functionality. Remember to replace any values in the code that looks like <VALUE> and to adapt the parameter values passed.


Body Parameters Specification:

Field Label
Field Key
Field Type
Example Value
Description

Personal Plan ID (Optional)

plan_id

Text

8052128065x89026589

To retrieve information about a specific personal plan, you can map a personal plan ID from another trigger/action here.

Account User Email (Optional)

user_email

Text

john@doe.com

Can optionally be used to only show personal plans that are associated with a particular user in your account.

Client Email (Optional)

client_email

Text

jane@gmail.com

Can optionally be used to show personal plans associated with a particular client referred through your account.


Sample Return Payload
[{
"personal_plan_url": "https://app.whiteswan.io/personal_plan/john-doe",
"client_name": "John Doe",
"client_email": "john@doe.com",
"client_phone": "1234567890",
"intended_owner": "Acme Inc",
"intended_insured": "John Doe",
"expiration_date": "2023-05-25T18:19:44.611Z",
"plan_success_manager": "Eric Mikolai",
"plan_success_manager_email": "eric@whiteswan.io",
"plan_success_manager_phone": "1234567890",
"plan_success_manager_meeting_link": "https://calendly.com/eric_whiteswan/personal-plan-review",
"personal_message": "Hi John! By comparing several options from some of America’s top carriers, I found a solution that I think would work well for you. I look forward to working on this case with you! If you haven’t already, please schedule a call with me below. Thank you!",
"applied_for": false,
"insurer_name": "John Hancock",
"insurer_logo": "https://s3.amazonaws.com/appforest_uf/f1660780457493x297075060123930300/john%20hancock%20Logo.png",
"product_name": "Sample Policy",
"illustration_pdf": "https://s3.amazonaws.com/appforest_uf/f1681150722309x32924951370300/john-doe-illustration.pdf",
"prospectus_pdf": "https:https://s3.amazonaws.com/appforest_uf/f1681150732287801017500398200/john-doe-prospectus.pdf",
"term_length": "30 Years",
"term_length_numerical": 30,
"assumed_annual_return": 1,
"initial_death_benefit": 200000,
"premium_modality": "Monthly",
"recurring_premium": 500,
"one_time_deposit": 2000,
"policy_type": "Variable Universal Life",
"main_goal": "Accumulation",
"health_rating": "Preferred Plus",
"annual_retirement_income": 100000,
"total_retirement_income": 3000000,
"years_of_retirement_income": 20,
"annual_target_premium": 4500,
"annual_total_premium": 6000,
"paid_up_period": "30 Years",
"paid_up_period_numerical": 30,
"projected_cash_values": [
  {
    "insured_age": 15,
    "cash_value": 10000
  },
  {
    "insured_age": 65,
    "cash_value": 2536016
  }
],
"projected_death_benefits": [
  {
    "insured_age": 85,
    "death_benefit": 150000
  }
],
"future_cash_values_irr": [
  {
    "irr_rate": 0.08,
    "insured_age": 65
  }
],
"future_death_benefits_irr": [
  {
    "irr_rate": 0.05,
    "insured_age": 85
  }
],
"riders": [
  {
    "name": "Guaranteed Insurability Rider",
    "description": "Allows you to get additional life insurance policies, at specific future intervals, without having to go through underwriting.  The amount of coverage is limited to an additional $5m."
  },
  {
    "name": "Overloan Protection Rider",
    "description": "Can act as a hypothetical safety net, to prevent lapse, for policies where loans are planned, if qualifying conditions are met. "
  }
],
"allocation_accounts": [
  {
    "name": "Sample Fund",
    "allocation_percentage": 1,
    "fund_inception": 2000,
    "average_historical_return": 0.089,
    "min_historical_return": -0.9,
    "max_historical_return": 0.5,
    "managing_institution": "Sample Asset Manager",
    "fund_account_fee": 0.005,
    "morningstar_rating": 9,
    "fixed_current_interest": 0,
    "fixed_guaranteed_interest": 0,
    "indexed_floor_rate": 0,
    "indexed_cap_rate": 0,
    "indexed_participation_rate": 0,
    "indexed_bonus_multiplier": "None",
    "underlying_index": "S&P 500 Price Index"
  }
],
"plan_id": "1681150784604x148984488584282100",
"associated_request_id": "1681142208501x817915131724300300"
}]

Returned Parameters Specification:

Field Label
Field Key
Field Type
Example Value
Description

Personal Plan URL

personal_plan_url

Text

https://app.whiteswan.io/personal_plan/john-doe

Direct link to view the personal plan.

Client Name

client_name

Text

John Doe

Full name of the client.

Client Email

client_email

Text

john@doe.com

Email address of the client.

Client Phone

client_phone

Text

1234567890

Phone number of the client.

Intended Owner

intended_owner

Text

Acme Inc

Entity or individual intended to be the owner of the plan.

Intended Insured

intended_insured

Text

John Doe

Entity or individual intended to be insured by the plan.

Expiration Date

expiration_date

DateTime

2023-05-25T18:19:44.611Z

Date and time when the plan will expire.

Plan Success Manager

plan_success_manager

Text

Eric Mikolai

Name of the success manager associated with the plan.

Plan Success Manager Email

plan_success_manager_email

Text

eric@whiteswan.io

Email address of the success manager.

Plan Success Manager Phone

plan_success_manager_phone

Text

1234567890

Phone number of the success manager.

Plan Success Manager Meeting Link

plan_success_manager_meeting_link

Text

https://calendly.com/eric_whiteswan/personal-plan-review

A link to book a meeting with the client success manager.

Personal Message

personal_message

Text

Hi John! By comparing several options...

Personalized message from the success manager to the client.

Applied For

applied_for

Boolean

False

Indicates whether the plan has been applied for.

Insurer Name

insurer_name

Text

John Hancock

Name of the insurance company providing the plan.

Insurer Logo

insurer_logo

Text

https://s3.amazonaws.com/appforest_uf/f1660780457493x297075060123930300/john%20hancock%20Logo.png

A logo image file of the insurer associated with this plan.

Product Name

product_name

Text

Sample Policy

Name of the insurance product.

Insurance Illustration PDF

illustration_pdf

Text

https://s3.amazonaws.com/appforest_uf/f1681150722309x32924951370300/john-doe-illustration.pdf

A link to the insurance illustration PDF provided by the insurer associated with this plan.

Prospectus PDF

prospectus_pdf

Text

https:https://s3.amazonaws.com/appforest_uf/f1681150732287801017500398200/john-doe-prospectus.pdf

For variable universal life, a link to the prospectus PDF provided by the insurer associated with this plan.

Term Life Length (Text)

term_length

Text

10 Years

For term life, the length of the coverage in text.

Term Life Length (Number)

term_length_numerical

Number

10

For term life, the length of the coverage in numbers.

Assumed Annual Return (Variable Universal Life)

assumed_annual_return

Number

0.08

For variable universal life, the assumed annual return of the plan.

Initial Death Benefit

initial_death_benefit

Number

1000000

The initial death benefit of this plan.

Payment Schedule

premium_modality

Text

Monthly

The payment schedule for this plan.

Recurring Premium Amount

recurring_premium

Number

258

The amount of premium planned per premium installment for this plan.

One Time Deposit

one_time_deposit

Number

1000

The one time deposit amount for this plan.

Policy Type

policy_type

Text

Variable Universal Life

Type of insurance policy.

Main Goal

main_goal

Text

Accumulation

Primary objective of the insurance policy.

Health Rating

health_rating

Text

Preferred Plus

Assumed health rating for the plan.

Annual Retirement Income

annual_retirement_income

Number

100000

Expected annual retirement income from the plan.

Total Retirement Income

total_retirement_income

Number

3000000

Total expected retirement income from the plan.

Years of Retirement Income

years_of_retirement_income

Number

20

Duration (in years) of the retirement income.

Annual Target Premium

annual_target_premium

Number

4500

Annual Total Premium

annual_total_premium

Number

6000

Total annual premium for the plan.

Paid Up Period

paid_up_period

Text

30 Years

Duration (in text) after which no further premiums are required.

Paid Up Period Numerical

paid_up_period_numerical

Number

30

Duration (in numbers) after which no further premiums are required.

Projected Cash Values

projected_cash_values

Object List

-

The projected future cash values for the plan.

-Insured Age

insured_age

Number

15

Age of the insured when the projected cash value is calculated.

-Projected Cash Value

cash_value

Number

10000

Projected cash values at future insured ages.

Projected Death Benefits

projected_death_benefits

Object List

-

The projected future death benefits for the plan.

-Insured Age

insured_age

Number

85

Age of the insured when the projected death benefit is calculated.

-Projected Death Benefit

death_benefit

Number

150000

Projected death benefits at future insured ages.

Projected Cash Value Internal Rates of Return

future_cash_values_irr

Object List

-

The projected future internal rates of return for the cash value of this plan.

-Insured Age

insured_age

Number

65

The future age of the insured person when the IRR is calculated.

-Projected Cash Value Internal Rate of Return

irr_rate

Number

0.07

The internal rate of return at the future age.

Projected Death Benefit Internal Rates of Return

future_death_benefits_irr

Object List

-

The projected future internal rates of return for the death benefit of this plan.

-Insured Age

insured_age

Number

85

The future age of the insured person when the IRR is calculated.

-Projected Death Benefit Internal Rate of Return

irr_rate

Number

0.07

The internal rate of return at the future age.

Riders Included in Plan

riders

Line Item(s)

-

The riders included in the plan.

-Rider Name

name

Text

Guaranteed Insurability Rider

Name of the rider.

-Rider Description

description

Text

Allows you to get additional life insurance policies...

Description of the rider.

Allocation Accounts/Funds

allocation_accounts

Line Item(s)

-

For Variable/Indexed Universal Life, the accounts to which the cash value is planned to be initially allocated to.

-Allocation Account/Fund Name

name

Text

Sample Fund

Name of the fund or account where allocations are made.

-Percentage Allocation

allocation_percentage

Number

0.75

Percentage of allocation to a fund or account.

-Fund Inception Year

fund_inception

Number

2000

Year when a fund was started.

-Fund Average Historical Return

average_historical_return

Number

0.089

Average return of a fund.

-Fund Min Historical Return

min_historical_return

Number

-0.09

The lowest historical annual return of a fund.

-Fund Max Historical Return

max_historical_return

Number

0.5

The highest historical annual return of a fund.

-Fund Managing Institution

managing_institution

Text

Sample Asset Manager

Institution managing a fund.

-Fund Account Fee

fund_account_fee

Number

0.005

The annual fee of a fund.

-Fund Morningstar Rating

morningstar_rating

Number

9

The morningstar rating of a fund (0-10)

-Fixed Account Current Rate

fixed_current_interest

Number

0.03

The current interest rate of a fixed account.

-Fixed Account Guaranteed Minimum Rate

fixed_guaranteed_interest

Number

0.01

The guaranteed minimum interest rate of a fixed account.

-Indexed Account Floor Rate

indexed_floor_rate

Number

0

The floor rate of an indexed account.

-Indexed Account Cap Rate

indexed_cap_rate

Number

0.1

The cap rate of an indexed account.

-Indexed Account Participation Rate

indexed_participation_rate

Number

1

The participation rate of an indexed account.

-Indexed Account Bonus/Multiplier

indexed_bonus_multiplier

Text

None

The bonus/multiplier of an indexed account.

-Indexed Account Underlying Index

underlying_index

Text

S&P 500 Price Index

The underlying index of an indexed account.

Personal Plan ID

plan_id

Text

1681150784604x148984488584282100

Unique identifier for the personal plan.

Associated Request ID

associated_request_id

Text

1681142208501x817915131724300300

ID of the request associated with the plan.

The for the plan.

⚙️
personal plan(s)
plan request
personal plan page
annual target premium