Learn how to post array data into Shape's Insurance template, including multiple drivers, vehicles, properties, coverages, and incidents within a single lead using Shape's Lead Posting API.
Insurance leads are often much more complex than a traditional contact record.
A single customer may have:
Rather than creating separate records for each item, Shape allows you to post these related objects as arrays within a single API request. This keeps all of the customer's insurance information organized under one record while preserving the relationships between each object.
Use array posting anytime your lead provider or integration needs to submit multiple instances of the same type of information.
Common examples include:
Instead of sending several POST requests, everything can be submitted together in a single payload.
Depending on your implementation, Shape supports posting arrays for insurance-specific objects,
Such as:
Each object becomes associated with the same primary contact record.
Before posting data into Shape, you'll need a Marketing Source with a Lead Posting URL.
Navigate to:
Settings → Marketing Sources
Locate your existing Marketing Source.
If one already exists, simply use the Lead Posting URL generated by Shape.
Need a new source?
Select Add Source.
Configure:
After saving, Shape automatically generates your unique Lead Posting URL.
Every Marketing Source includes a list of supported field mappings.
When posting data:
This makes troubleshooting much easier while helping identify mapping issues.
For a complete list of supported fields, refer to the Supported Field Reference.
Your payload contains two types of data:
Information about the insured individual.
Examples include:
Additional information is submitted as arrays beneath the primary contact.
Examples include:
None
Lead
├── Drivers[] ├── Vehicles[] ├── Properties[] └── Policies / Coverages[]
Each array can contain one or many objects depending on the customer's information.
Each array can contain one or many objects depending on the customer's information. This structure allows one Shape record to represent an entire insurance profile.
None
Screenshot / Code Placeholder
(Keep your existing JSON example here.)
If your request is successful, Shape returns a response similar to:
None
{
"status": 1,
"msg": "success",
"leadId": 1818,
"systemId": 16638
}
The returned Lead ID uniquely identifies the record that was created.
You can search for this Lead ID inside Shape to verify your mappings and imported data.
If information doesn't appear where expected, check the following:
Array posting should be used whenever a customer has multiple related insurance objects, such as several vehicles, drivers, or properties that belong to the same record.
Yes. Vehicles are submitted as an array, allowing a single lead to contain as many vehicles as needed.
Yes. Driver information can be posted as an array, allowing multiple insured drivers to be associated with the same customer record.
Unsupported or incorrectly named fields are automatically added to the record's Notes section instead of being mapped to a field.
Yes. When posting to dropdown or predefined list fields, the submitted values should match the options configured in your Shape template.
A successful response returns a status, Lead ID, and System ID. You can search for the returned Lead ID in Shape to verify that your data imported correctly.
Yes. If you need assistance configuring a Marketing Source or troubleshooting your integration, contact help@setshape.com and include:
This information helps our team troubleshoot your integration more efficiently.
Keywords: Marketing Source, Array, Post URL, Field Name, Friendly Name, Insurance, Everquote, QuoteWizard, lead provider, multiple objects, API
Changing templates will take time and may require a template change fee.
Not sure what to choose? Contact us.