{"info":{"_postman_id":"61da7f72-1e47-4930-bb1e-c735f054e223","name":"LifeDX API","description":"<html><head></head><body><p>The goal of the LifeDX is to create industry standards around how data is transferred between carriers and partners. You can think of it as a universal translation tool for carrier data. It was developed to move data dissemination from traditional spreadsheet/CSV files to streamlined APIs to improve security, reduce testing time, and open the door to innovation within this industry.</p>\n<p>The API is organized around REST. It strives to standardize differing carrier information into common objects and data structures. Versioning is enforced through API endpoint urls. We recommend that all API calls be made over https.</p>\n<h1 id=\"getting-started\">Getting Started</h1>\n<h3 id=\"step-1-obtain-your-vendor-token\">Step 1: Obtain your Vendor Token</h3>\n<p>To obtain a Partner Token you will need to create a Partner account. You can obtain a vendor account from any of the carriers on the LifeDX, or you can contact us at <a href=\"mailto:sales@thelifedx.com\">sales@thelifedx.com</a>. Your Partner Token will be provided after your Partner account is created. Your Partner Token should never be shared or visible to the public. If you have questions or problems with obtaining or using your Vendor Token, you can email us at <a href=\"mailto:support@thelifedx.com\">support@thelifedx.com</a>.</p>\n<h3 id=\"step-2-obtain-carrier-tokens\">Step 2: Obtain Carrier Tokens</h3>\n<p>In order to access any carrier specific information through the LifeDX, you will need to obtain permissions from individual carriers. Each endpoint will require you to send one or more Carrier Tokens with it. Carrier Tokens are unique identifiers of your relationship with a carrier. Your Carrier Tokens should never be shared or visible to the public. To obtain these tokens you will need to contact carriers directly and request to become a Partner with them through the LifeDX.</p>\n<h3 id=\"step-3-explore-the-api-reference\">Step 3: Explore the API Reference</h3>\n<p>The LifeDX offers a variety of endpoints for interacting with carrier data. If you have any questions about the API, please email <a href=\"mailto:support@thelifedx.com\">support@thelifedx.com</a>.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<blockquote>\n<p>NOTE: If your app is not only requesting public read-only information, then you may skip this step.</p>\n</blockquote>\n<p>The LifeDX API uses API tokens for authentication. Each Partner account has a Partner Token that will provide general access to the LifeDX API.</p>\n<p>Access to carrier information is controlled by the individual carriers through secure Carrier Tokens.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started","slug":"getting-started"},{"content":"Authentication","slug":"authentication"}],"owner":"5807659","collectionId":"61da7f72-1e47-4930-bb1e-c735f054e223","publishedId":"TVev55aQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"172027","highlight":"0497FF"},"publishDate":"2021-04-05T19:09:39.000Z"},"item":[{"name":"Carriers","item":[{"name":"/v1/carriers","id":"6cf325fe-ca83-45bc-a2ea-222d1fd76a67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://api.thelifedx.com/v1/carriers","description":"<p>This will return all the carriers that the requesting vendor has access to. This is an easy way for a vendor to access their carrier tokens, which are required with other endpoints.</p>\n","urlObject":{"path":["v1","carriers"],"host":["https://api.thelifedx.com"],"query":[],"variable":[]}},"response":[{"id":"0e641fbf-fefd-40fc-8429-4b74c9fca14d","name":"400 Bad Request","originalRequest":{"method":"GET","header":[],"url":"https://api.thelifedx.com/v1/carriers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Nov 2020 00:15:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.17.10"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Origin"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"057a6e6e-39ff-48bf-8b58-7ab37e0cf52d"},{"key":"X-Runtime","value":"0.035885"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": null,\n    \"errors\": [\n        {\n            \"type\": \"not_authorized\",\n            \"param\": \"VENDOR-TOKEN\",\n            \"message\": \"You do not have permission to access this endpoint.\"\n        }\n    ]\n}"},{"id":"a98bdaaa-37f2-42c0-8d4d-404534830f43","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"VENDOR-TOKEN","value":"{{partner_token}}","type":"text"}],"url":"https://api.thelifedx.com/v1/carriers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Nov 2020 00:14:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.17.10"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Vary","value":"Origin"},{"key":"ETag","value":"W/\"b6d6e59e456fd6a780a27287beb90e93\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"9acf69ae-7281-40f6-a328-9dbd4cf0e998"},{"key":"X-Runtime","value":"0.423543"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"<string>\",\n            \"token\": \"<string>\",\n            \"logo\": {\n                \"url\": \"<string>\",\n                \"small\": {\n                    \"url\": \"<string>\"\n                },\n                \"medium\": {\n                    \"url\": \"<string>\"\n                },\n                \"large\": {\n                    \"url\": \"<string>\"\n                }\n            },\n            \"email\": \"<string>\",\n            \"phone\": \"<string>\",\n            \"city\": \"<string>\",\n            \"state\": \"<string>\",\n            \"zipcode\": \"<string>\",\n            \"street1\": \"<string>\",\n            \"street2\": \"<string>\",\n            \"product_groups\": [\n                {\n                    \"id\": 1,\n                    \"group_name\": \"<string>\",\n                    \"products\": [\n                        {\n                            \"id\": 1,\n                            \"agent_message\": \"<string>\",\n                            \"product_feature_ids\": [],\n                            \"product_name\": \"<string>\",\n                            \"product_type\": \"<string>\",\n                            \"product_type_detail\": \"<string>\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"6cf325fe-ca83-45bc-a2ea-222d1fd76a67"}],"id":"5147c635-4670-48d2-9c8f-931717af0ee8","_postman_id":"5147c635-4670-48d2-9c8f-931717af0ee8","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":true,"source":{"_postman_id":"61da7f72-1e47-4930-bb1e-c735f054e223","id":"61da7f72-1e47-4930-bb1e-c735f054e223","name":"LifeDX API","type":"collection"}}},{"name":"Life Quotes","item":[{"name":"/v1/life_quotes","id":"2284c0ac-432a-4ad2-b6a0-b2fc61158c25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"carrier_tokens[]","value":"4c16aa58-e81e-44b4-82e5-eb5ea264333e","description":"<p>REQUIRED<br />An array of Carrier Token strings</p>\n","type":"text","contentType":""},{"key":"product_ids[]","value":"120","description":"<p>REQUIRED<br />An array of product id integers from the /v1/carriers endpoint. Product IDs not associated with the provided Carrier Tokens will be ignored.</p>\n","type":"text","contentType":""},{"key":"health_classes[]","value":"Preferred","description":"<p>REQUIRED<br />An array of strings. Allowed values are: Standard, Standard Plus, Preferred, Preferred Plus, Table A, Table B, Table C, Table D, Table E, Table F, Table G, Table H, Table I, Table J, Table K, Table L, Table M, Table N, Table O, Table P</p>\n","type":"text","contentType":""},{"key":"face_amount","value":"500000","description":"<p>REQUIRED<br />An integer representing the desired face amount.</p>\n","type":"text"},{"key":"state","value":"UT","description":"<p>REQUIRED<br />Any valid two character state abbreviation.</p>\n","type":"text"},{"key":"gender","value":"Male","description":"<p>REQUIRED<br />One of these values: Male, Female</p>\n","type":"text"},{"key":"date_of_birth","value":"1985-02-25","description":"<p>REQUIRED<br />A valid date in the past. Must follow the format YYYY-MM-DD</p>\n","type":"text"},{"key":"tobacco","value":"false","description":"<p>OPTIONAL<br />Set to true if the proposed insured is a tobacco user</p>\n","type":"text"},{"key":"adb_rider","value":"false","description":"<p>OPTIONAL<br />Set to true to quote with an accidental death benefit rider</p>\n","type":"text"},{"key":"wop_rider","value":"false","description":"<p>OPTIONAL<br />Set to tru to quote with a waiver of premium rider</p>\n","type":"text"},{"key":"child_rider_units","value":"0","description":"<p>OPTIONAL<br />A valid positive integer indicating the number of child rider units to include with the quotes</p>\n","type":"text"},{"key":"flat_extra","value":"0","description":"<p>OPTIONAL<br />A valid integer or float</p>\n","type":"text"}]},"url":"https://api.thelifedx.com/v1/life_quotes","urlObject":{"path":["v1","life_quotes"],"host":["https://api.thelifedx.com"],"query":[],"variable":[]}},"response":[{"id":"4abfa670-35ba-4172-bc94-557712695c56","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"VENDOR-TOKEN","value":"{{partner_token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"carrier_tokens\": [\"INSERT_TOKEN_HERE\"],\n    \"product_ids\": [1],\n    \"health_classes\": [\"Standard\"],\n    \"face_amount\": 250000,\n    \"state\": \"UT\",\n    \"gender\": \"Male\",\n    \"date_of_birth\": \"1980-01-01\",\n    \"tobacco\": false,\n    \"adb_rider\": false,\n    \"wop_rider\": false,\n    \"child_rider_units\": 0,\n    \"flat_extra\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.thelifedx.com/life_quotes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"id\": \"<uuid>\",\n   \"adb_rider\": \"<boolean>\",\n   \"adb_rider_annual\": \"<string>\",\n   \"adb_rider_monthly\": \"<string>\",\n   \"adb_rider_quarterly\": \"<string>\",\n   \"adb_rider_semi_annual\": \"<string>\",\n   \"agent_message\": \"<string>\",\n   \"am_best_date\": \"<date>\",\n   \"am_best_rating\": \"<string>\",\n   \"base_premium_annual\": \"<string>\",\n   \"base_premium_monthly\": \"<string>\",\n   \"base_premium_quarterly\": \"<string>\",\n   \"base_premium_semi_annual\": \"<string>\",\n   \"carrier_name\": \"<string>\",\n   \"child_rider_annual\": \"<string>\",\n   \"child_rider_monthly\": \"<string>\",\n   \"child_rider_quarterly\": \"<string>\",\n   \"child_rider_semi_annual\": \"<string>\",\n   \"child_rider_units\": \"<integer>\",\n   \"child_wop_rider_annual\": \"<string>\",\n   \"child_wop_rider_monthly\": \"<string>\",\n   \"child_wop_rider_quarterly\": \"<string>\",\n   \"child_wop_rider_semi_annual\": \"<string>\",\n   \"created_at\": \"<dateTime>\",\n   \"face_amount\": \"<integer>\",\n   \"flat_extra_annual\": \"<string>\",\n   \"flat_extra_monthly\": \"<string>\",\n   \"flat_extra_quarterly\": \"<string>\",\n   \"flat_extra_semi_annual\": \"<string>\",\n   \"gender\": \"<string>\",\n   \"health_class\": \"<string>\",\n   \"policy_fee_annual\": \"<string>\",\n   \"policy_fee_monthly\": \"<string>\",\n   \"policy_fee_quarterly\": \"<string>\",\n   \"policy_fee_semi_annual\": \"<string>\",\n   \"premium_annual\": \"<string>\",\n   \"premium_monthly\": \"<string>\",\n   \"premium_quarterly\": \"<string>\",\n   \"premium_semi_annual\": \"<string>\",\n   \"product_id\": \"<integer>\",\n   \"product_name\": \"<string>\",\n   \"product_type\": \"<string>\",\n   \"rate_age\": \"<integer>\",\n   \"state\": \"<string>\",\n   \"table_rate_annual\": \"<string>\",\n   \"table_rate_letter\": \"<string>\",\n   \"table_rate_monthly\": \"<string>\",\n   \"table_rate_quarterly\": \"<string>\",\n   \"table_rate_semi_annual\": \"<string>\",\n   \"tobacco\": \"<boolean>\",\n   \"wop_rider_annual\": \"<string>\",\n   \"wop_rider_monthly\": \"<string>\",\n   \"wop_rider_quarterly\": \"<string>\",\n   \"wop_rider_semi_annual\": \"<string>\"\n  },\n  {\n   \"id\": \"<uuid>\",\n   \"adb_rider\": \"<boolean>\",\n   \"adb_rider_annual\": \"<string>\",\n   \"adb_rider_monthly\": \"<string>\",\n   \"adb_rider_quarterly\": \"<string>\",\n   \"adb_rider_semi_annual\": \"<string>\",\n   \"agent_message\": \"<string>\",\n   \"am_best_date\": \"<date>\",\n   \"am_best_rating\": \"<string>\",\n   \"base_premium_annual\": \"<string>\",\n   \"base_premium_monthly\": \"<string>\",\n   \"base_premium_quarterly\": \"<string>\",\n   \"base_premium_semi_annual\": \"<string>\",\n   \"carrier_name\": \"<string>\",\n   \"child_rider_annual\": \"<string>\",\n   \"child_rider_monthly\": \"<string>\",\n   \"child_rider_quarterly\": \"<string>\",\n   \"child_rider_semi_annual\": \"<string>\",\n   \"child_rider_units\": \"<integer>\",\n   \"child_wop_rider_annual\": \"<string>\",\n   \"child_wop_rider_monthly\": \"<string>\",\n   \"child_wop_rider_quarterly\": \"<string>\",\n   \"child_wop_rider_semi_annual\": \"<string>\",\n   \"created_at\": \"<dateTime>\",\n   \"face_amount\": \"<integer>\",\n   \"flat_extra_annual\": \"<string>\",\n   \"flat_extra_monthly\": \"<string>\",\n   \"flat_extra_quarterly\": \"<string>\",\n   \"flat_extra_semi_annual\": \"<string>\",\n   \"gender\": \"<string>\",\n   \"health_class\": \"<string>\",\n   \"policy_fee_annual\": \"<string>\",\n   \"policy_fee_monthly\": \"<string>\",\n   \"policy_fee_quarterly\": \"<string>\",\n   \"policy_fee_semi_annual\": \"<string>\",\n   \"premium_annual\": \"<string>\",\n   \"premium_monthly\": \"<string>\",\n   \"premium_quarterly\": \"<string>\",\n   \"premium_semi_annual\": \"<string>\",\n   \"product_id\": \"<integer>\",\n   \"product_name\": \"<string>\",\n   \"product_type\": \"<string>\",\n   \"rate_age\": \"<integer>\",\n   \"state\": \"<string>\",\n   \"table_rate_annual\": \"<string>\",\n   \"table_rate_letter\": \"<string>\",\n   \"table_rate_monthly\": \"<string>\",\n   \"table_rate_quarterly\": \"<string>\",\n   \"table_rate_semi_annual\": \"<string>\",\n   \"tobacco\": \"<boolean>\",\n   \"wop_rider_annual\": \"<string>\",\n   \"wop_rider_monthly\": \"<string>\",\n   \"wop_rider_quarterly\": \"<string>\",\n   \"wop_rider_semi_annual\": \"<string>\"\n  }\n ],\n \"errors\": [\n  {\n   \"type\": \"<string>\",\n   \"param\": \"<string>\",\n   \"message\": \"<string>\"\n  },\n  {\n   \"type\": \"<string>\",\n   \"param\": \"<string>\",\n   \"message\": \"<string>\"\n  }\n ]\n}"}],"_postman_id":"2284c0ac-432a-4ad2-b6a0-b2fc61158c25"},{"name":"/v1/quotes/:id","id":"8355ea91-7020-4dc5-b9ce-7a181758441c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.thelifedx.com/v1/life_quotes/:id","urlObject":{"path":["v1","life_quotes",":id"],"host":["https://api.thelifedx.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"string","value":"test","key":"id"}]}},"response":[{"id":"78832403-f17d-4a7a-ace1-66f132322632","name":"200 OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"VENDOR-TOKEN","value":"<API Key>"}],"url":{"raw":"https://api.thelifedx.com/life_quotes/:id","host":["https://api.thelifedx.com"],"path":["life_quotes",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"<uuid>\",\n        \"adb_rider\": \"<boolean>\",\n        \"adb_rider_annual\": \"<string>\",\n        \"adb_rider_monthly\": \"<string>\",\n        \"adb_rider_quarterly\": \"<string>\",\n        \"adb_rider_semi_annual\": \"<string>\",\n        \"agent_message\": \"<string>\",\n        \"am_best_date\": \"<date>\",\n        \"am_best_rating\": \"<string>\",\n        \"base_premium_annual\": \"<string>\",\n        \"base_premium_monthly\": \"<string>\",\n        \"base_premium_quarterly\": \"<string>\",\n        \"base_premium_semi_annual\": \"<string>\",\n        \"carrier_name\": \"<string>\",\n        \"child_rider_annual\": \"<string>\",\n        \"child_rider_monthly\": \"<string>\",\n        \"child_rider_quarterly\": \"<string>\",\n        \"child_rider_semi_annual\": \"<string>\",\n        \"child_rider_units\": \"<integer>\",\n        \"child_wop_rider_annual\": \"<string>\",\n        \"child_wop_rider_monthly\": \"<string>\",\n        \"child_wop_rider_quarterly\": \"<string>\",\n        \"child_wop_rider_semi_annual\": \"<string>\",\n        \"created_at\": \"<dateTime>\",\n        \"face_amount\": \"<integer>\",\n        \"flat_extra_annual\": \"<string>\",\n        \"flat_extra_monthly\": \"<string>\",\n        \"flat_extra_quarterly\": \"<string>\",\n        \"flat_extra_semi_annual\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"health_class\": \"<string>\",\n        \"policy_fee_annual\": \"<string>\",\n        \"policy_fee_monthly\": \"<string>\",\n        \"policy_fee_quarterly\": \"<string>\",\n        \"policy_fee_semi_annual\": \"<string>\",\n        \"premium_annual\": \"<string>\",\n        \"premium_monthly\": \"<string>\",\n        \"premium_quarterly\": \"<string>\",\n        \"premium_semi_annual\": \"<string>\",\n        \"product_id\": \"<integer>\",\n        \"product_name\": \"<string>\",\n        \"product_type\": \"<string>\",\n        \"rate_age\": \"<integer>\",\n        \"state\": \"<string>\",\n        \"table_rate_annual\": \"<string>\",\n        \"table_rate_letter\": \"<string>\",\n        \"table_rate_monthly\": \"<string>\",\n        \"table_rate_quarterly\": \"<string>\",\n        \"table_rate_semi_annual\": \"<string>\",\n        \"tobacco\": \"<boolean>\",\n        \"wop_rider_annual\": \"<string>\",\n        \"wop_rider_monthly\": \"<string>\",\n        \"wop_rider_quarterly\": \"<string>\",\n        \"wop_rider_semi_annual\": \"<string>\"\n    },\n    \"errors\": null\n}"},{"id":"a5ff655f-d699-43ad-841f-5f34a8a2413a","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.thelifedx.com/v1/life_quotes/:id","host":["https://api.thelifedx.com"],"path":["v1","life_quotes",":id"],"variable":[{"description":"(Required) ","key":"id","type":"string","value":"invalid_value"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Nov 2020 00:59:35 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"46"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.17.10"},{"key":"X-Request-Id","value":"cea904af-98e1-49b7-b2c6-33423e64aa22"},{"key":"X-Runtime","value":"0.287882"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"not_found\",\n    \"param\": \"id\",\n    \"message\": \"Quote not found.\"\n}"}],"_postman_id":"8355ea91-7020-4dc5-b9ce-7a181758441c"}],"id":"1ff76238-1753-4528-b627-38fa1829ecc8","event":[{"listen":"prerequest","script":{"id":"71981ebc-324d-422b-a390-d1a70209fbc2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bc87536f-8be2-4eed-a5e2-691080d667fc","type":"text/javascript","exec":[""]}}],"_postman_id":"1ff76238-1753-4528-b627-38fa1829ecc8","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":true,"source":{"_postman_id":"61da7f72-1e47-4930-bb1e-c735f054e223","id":"61da7f72-1e47-4930-bb1e-c735f054e223","name":"LifeDX API","type":"collection"}}},{"name":"Forms","item":[{"name":"/v1/form_tags","id":"99cae9d4-c720-4bc0-a398-d41b818eb659","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.thelifedx.com/v1/form_tags","urlObject":{"path":["v1","form_tags"],"host":["https://api.thelifedx.com"],"query":[],"variable":[]}},"response":[{"id":"1d720fb8-1342-48ff-a14b-eb97e2fc613c","name":"200 OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"VENDOR-TOKEN","value":"<API Key>"}],"url":"https://api.thelifedx.com/form_tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"<uuid>\",\n            \"name\": \"<string>\"\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"99cae9d4-c720-4bc0-a398-d41b818eb659"},{"name":"/v1/forms","id":"52c1d47e-45e2-4b9d-bef6-59b4018eb69e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"carrier_tokens[]","value":"","description":"<p>REQUIRED<br />An array of Carrier Token strings</p>\n","type":"text"},{"key":"state","value":"","description":"<p>OPTIONAL<br />Any valid two character state abbreviation.</p>\n","type":"text"},{"key":"product_group_id","value":"","description":"<p>OPTIONAL<br />A valid product group id integer from /v1/carriers</p>\n","type":"text"},{"key":"form_tag_ids[]","value":"","description":"<p>OPTIONAL<br />An array of valid form tag ids from /v1/form_tags</p>\n","type":"text"},{"key":"search","value":"","description":"<p>OPTIONAL<br />A string to search against form names and numbers</p>\n","type":"text"}]},"url":"https://api.thelifedx.com/v1/forms","urlObject":{"path":["v1","forms"],"host":["https://api.thelifedx.com"],"query":[],"variable":[]}},"response":[{"id":"30aee1ac-7848-4e56-8701-61b4e3232921","name":"200 OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"VENDOR-TOKEN","value":"<API Key>"}],"url":"https://api.thelifedx.com/forms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"<uuid>\",\n            \"carrier_name\": \"<string>\",\n            \"name\": \"<string>\",\n            \"number\": \"<string>\",\n            \"description\": \"<string>\",\n            \"publish_date\": \"<dateTime>\",\n            \"form_tag_ids\": [\n                \"<string>\"\n            ],\n            \"product_group_ids\": [\n                \"<integer>\"\n            ],\n            \"states\": [\n                \"<string>\"\n            ],\n            \"pdf_file\": {\n                \"url\": \"<uri>\",\n                \"web_thumb\": {\n                    \"url\": \"<uri>\"\n                }\n            }\n        }\n    ],\n    \"errors\": null\n}"}],"_postman_id":"52c1d47e-45e2-4b9d-bef6-59b4018eb69e"},{"name":"/v1/forms/:id","id":"4bafe957-f1b2-4425-8576-737dd4f91f94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.thelifedx.com/v1/forms/:id","urlObject":{"path":["v1","forms",":id"],"host":["https://api.thelifedx.com"],"query":[],"variable":[{"id":"f8781f51-e073-44aa-b0dc-ce60efd1bf19","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"string","value":"<string>","key":"id"}]}},"response":[{"id":"5912fc81-9214-40d9-9755-519f249f64d3","name":"200 OK","originalRequest":{"method":"GET","header":[{"description":{"content":"Added as a part of security scheme: apikey","type":"text/plain"},"key":"VENDOR-TOKEN","value":"<API Key>"}],"url":{"raw":"https://api.thelifedx.com/forms/:id","host":["https://api.thelifedx.com"],"path":["forms",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"<uuid>\",\n        \"carrier_name\": \"<string>\",\n        \"name\": \"<string>\",\n        \"number\": \"<string>\",\n        \"description\": \"<string>\",\n        \"publish_date\": \"<dateTime>\",\n        \"form_tag_ids\": [\n            \"<string>\"\n        ],\n        \"product_group_ids\": [\n            \"<integer>\"\n        ],\n        \"states\": [\n            \"<string>\"\n        ],\n        \"pdf_file\": {\n            \"url\": \"<uri>\",\n            \"web_thumb\": {\n                \"url\": \"<uri>\"\n            }   \n        }\n    },\n    \"errors\": null\n}"},{"id":"b2a228ea-186b-4633-a757-0eed4f3b879c","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.thelifedx.com/v1/forms/:id","host":["https://api.thelifedx.com"],"path":["v1","forms",":id"],"variable":[{"description":"(Required) ","key":"id","type":"string","value":"invalid_id"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"not_found\",\n    \"param\": \"id\",\n    \"message\": \"Form not found.\"\n}"}],"_postman_id":"4bafe957-f1b2-4425-8576-737dd4f91f94"}],"id":"7e764cc1-2964-499a-8635-02ee725df746","_postman_id":"7e764cc1-2964-499a-8635-02ee725df746","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":true,"source":{"_postman_id":"61da7f72-1e47-4930-bb1e-c735f054e223","id":"61da7f72-1e47-4930-bb1e-c735f054e223","name":"LifeDX API","type":"collection"}}},{"name":"Embeddable E-Tickets","item":[],"id":"9dc7c7a0-1892-49fd-83f2-9bde3827cb55","description":"<h2 id=\"embed-code\">Embed Code</h2>\n<p>Embeddable E-Tickets can be embedded anywhere that runs html, css, and javascript.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-html\">&lt;link href=\"https://embed.thelifedx.com/eticket/css/reset.css\" rel=\"stylesheet\" type=\"text/css\"&gt; \n&lt;script type=\"text/javascript\"&gt;\n    window.LIFEDX_ETICKET = {\n      token: 'TOKEN_PROVIDER_BY_CARRIER'\n    };\n&lt;/script&gt; \n&lt;div id=\"lifedx_eticket_form\"&gt;&lt;/div&gt; \n&lt;script type=\"text/javascript\" src=\"https://embed.thelifedx.com/eticket/js/eticket.widget.js\"&gt;&lt;/script&gt;\n</code></pre>\n<p><br /><br /></p>\n<h2 id=\"theming\">Theming</h2>\n<p>We allow you to theme some of the UI for the embeddable e-tickets. However, in order to maintain a carrier approved user experience, you are limited to the following:</p>\n<ul>\n<li>Border Radius</li>\n<li>Input Padding</li>\n<li>Font Family</li>\n<li>Font Sizes</li>\n<li>Font Weights</li>\n<li>Colors</li>\n</ul>\n<p>To define these, simply pass them into the LIFEDX_ETICKET object. The default values are displayed below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;script type=\"text/javascript\"&gt;\n    window.LIFEDX_ETICKET = {\n        token: 'TOKEN_PROVIDER_BY_CARRIER',\n        theme: {\n            border_radius: 4,\n            input_padding: 10,\n            FontFamilies: {\n                DEFAULT: \"'Roboto', Helvetica, Arial, sans-serif\"\n            },\n            FontSizes: {\n                XSMALL: 10,\n                SMALL: 12,\n                REGULAR: 13,\n                MEDIUM: 14,\n                LARGE: 16,\n                XLARGE: 20,\n                XXLARGE: 30\n            },\n            FontWeights: {\n                REGULAR: 400,\n                MEDIUM: 500,\n                BOLD: 700\n            },\n            Colors: {\n                MAIN: '#52ADFF',\n                GREEN: '#1DBC3E',\n                RED: '#DF4B4B'\n            }\n        }\n    };\n&lt;/script&gt;\n</code></pre><p><br /><br /></p>\n<h2 id=\"quoting\">Quoting</h2>\n<p>Each e-ticket requires a valid quote. There are two ways to provide a quote. The first and preferred way is to provide a valid LifeDX quote id generated by the LifeDX Life Quotes API. Speak to your carrier contact to learn how to gain access to the LifeDX Life Quotes API. Once you have a valid quote id, you can pass it into the LIFEDX_ETICKET object. An example is below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;script type=\"text/javascript\"&gt;\n    window.LIFEDX_ETICKET = {\n        token: 'TOKEN_PROVIDER_BY_CARRIER',\n        quote_id: 'LIFEDX_LIFE_QUOTE_ID'\n    };\n&lt;/script&gt;\n</code></pre><br />\nThe second way to provide a quote is to provide raw quote criteria values that we will then use to generate a quote on the fly. You can provide partial quote criteria. In the event that partial or incorrect quote criteria is provided, we will display a user interface that will allow the end user to manually select the quote criteria. An example is below:\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;script type=\"text/javascript\"&gt;\n    window.LIFEDX_ETICKET = {\n        token: 'TOKEN_PROVIDER_BY_CARRIER',\n        quote_data: {\n            product_id: 1, // a valid LifeDX product id\n            state: 'UT', // a valid US state two character abbreviation\n            face_amount: 250000, // a number greater than 0\n            gender: 'Male', // 'Male', 'Female'\n            health_class: 'Standard', // 'Standard', 'Standard Plus', 'Preferred', 'Preferred Plus', 'Table A', 'Table B', 'Table C', 'Table D', 'Table E', 'Table F', 'Table G', 'Table H', 'Table I', 'Table J', 'Table K', 'Table L', 'Table M', 'Table N', 'Table O', 'Table P'\n            date_of_birth: '1985-02-25', // YYYY-MM-DD\n            tobacco: false, // boolean\n            adb_rider: false, // boolean\n            wop_rider: false, // boolean\n            child_rider_units: 0, // number\n        }\n    };\n&lt;/script&gt;\n</code></pre><p><br /><br /></p>\n<h2 id=\"pre-filling-e-ticket-data\">Pre-Filling E-Ticket Data</h2>\n<p>In many cases you will already have some of the information needed to complete a carrier's e-ticket. You can pre-fill that data by passing an array of objects into the LIFEDX_ETICKET object under the <code>form_data</code> attribute. Each object should contain a <code>name</code> and a <code>value</code> attribute. An example is below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>&lt;script type=\"text/javascript\"&gt;\n    window.LIFEDX_ETICKET = {\n        token: 'TOKEN_PROVIDER_BY_CARRIER',\n        form_data: [\n            { name: 'pi_first_name', value: 'John' },\n            { name: 'pi_last_name', value: 'Smith' }\n        ]\n    };\n&lt;/script&gt;\n</code></pre><br />\nSpeak with your carrier contact to get a full list of pre-fillable data.","event":[{"listen":"prerequest","script":{"id":"14a16840-e1b8-4f5f-8b59-e8e7fa08c5e2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cdf15874-9b33-4374-a1be-d6eaa8d8fd4b","type":"text/javascript","exec":[""]}}],"_postman_id":"9dc7c7a0-1892-49fd-83f2-9bde3827cb55","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]},"isInherited":true,"source":{"_postman_id":"61da7f72-1e47-4930-bb1e-c735f054e223","id":"61da7f72-1e47-4930-bb1e-c735f054e223","name":"LifeDX API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"VENDOR-TOKEN"},{"key":"value","value":"{{partner_token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"f58e6778-c88e-4e4c-a757-d44750a885d3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fd7838c1-629c-4d2f-b87e-8c14e8c18f2d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.thelifedx.com"}]}