LinkedIn Lead Gen Forms and Conversion API
App · 11 actions
Read lead forms and responses, manage notifications and conversion rules, and report server-side conversion events.
Actions
| Action | What it does |
|---|---|
| Create conversion | Create conversion. |
| Create form | Create form. |
| Create lead notification | Create lead notification. |
| Delete lead notification | Delete lead notification. |
| Get conversion | Get conversion. |
| Get form | Get form. |
| Get response | Get response. |
| List conversions | List conversions. |
| List forms | List forms. |
| List responses | List responses. |
| Send conversion | Send conversion. |
Create conversion
Create conversion.
Inputs
- Name
nametextRequired - Name.
- Account
accounttext - Account.
- Type
typetextRequired - Type.One of:
ADD_TO_CART(Add to cart),DOWNLOAD,INSTALL,KEY_PAGE_VIEW(Key page view),LEAD,PURCHASE,SIGN_UP(Sign up),OTHER. - Post click attribution window size
post_click_attribution_window_sizenumberRequired - Post click attribution window size.One of:
1,7,30,90. - View through attribution window size
view_through_attribution_window_sizenumberRequired - View through attribution window size.One of:
1,7,30,90. - Attribution type
attribution_typetextRequired - Attribution type.One of:
LAST_TOUCH_BY_CAMPAIGN(Last touch by campaign),LAST_TOUCH_BY_CONVERSION(Last touch by conversion).
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {
"id": "example"
}
}Create form
Create form.
Inputs
- Owner
ownerobjectRequired - Owner.
- Name
nametextRequired - Name.
- Creation locale
creation_localeobjectRequired - Creation locale.
- Content
contentobjectRequired - Content.
- State
statetextRequired - State.One of:
DRAFT,PUBLISHED. - Hidden fields
hidden_fieldslist - Hidden fields.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {
"id": "example"
}
}Create lead notification
Create lead notification.
Inputs
- Webhook
webhooktextRequired - Webhook.
- Owner
ownerobjectRequired - Owner.
- Lead type
lead_typetextRequired - Lead type.One of:
SPONSORED,EVENT,COMPANY,ORGANIZATION_PRODUCT(Organization product). - Versioned form
versioned_formtext - Versioned form.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {
"id": "example"
}
}Delete lead notification
Delete lead notification.
Inputs
- Notification id
notification_idtextRequired - Notification id.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {}
}Get conversion
Get conversion.
Inputs
- Conversion id
conversion_idtextRequired - Conversion id.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {}
}Get form
Get form.
Inputs
- Form id
form_idtextRequired - Form id.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {}
}Get response
Get response.
Inputs
- Response id
response_idtextRequired - Response id.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {}
}List conversions
List conversions.
Inputs
- Account
accounttext - Account.
- Start
startnumber - Start.At least 0.
- Count
countnumber - Count.From 1 to 100.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {
"elements": []
}
}List forms
List forms.
Inputs
- Owner id
owner_idtext - Owner id.
- Owner type
owner_typetext - Owner type.One of:
sponsoredAccount,organization. - Start
startnumber - Start.At least 0.
- Count
countnumber - Count.From 1 to 100.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {
"elements": []
}
}List responses
List responses.
Inputs
- Owner id
owner_idtext - Owner id.
- Owner type
owner_typetext - Owner type.One of:
sponsoredAccount,organization. - Lead type
lead_typetextRequired - Lead type.One of:
SPONSORED,EVENT,COMPANY,ORGANIZATION_PRODUCT(Organization product). - Start
startnumber - Start.At least 0.
- Count
countnumber - Count.From 1 to 100.
- Limited to test leads
limited_to_test_leadstrue/false - Limited to test leads.
- Versioned lead gen form urn
versioned_lead_gen_form_urntext - Versioned lead gen form urn.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {
"elements": []
}
}Send conversion
Send conversion.
Inputs
- Conversion
conversiontextRequired - Conversion.
- Conversion happened at
conversion_happened_atdate and timeRequired - Conversion happened at.
- Event id
event_idtextRequired - Event id.
- User
userobjectRequired - User.
- Conversion value
conversion_valueobject - Conversion value.
Outputs
dataobject- Linked In Lead Gen Forms and Conversion API response data.
Example output
{
"data": {}
}