Landing Page Object

A landing page is a web page that a visitor reaches after clicking a link or advertisement. This page generally displays content that is specific to the advertisement, search keyword, or link clicked. Landing page visitors can be more likely to convert when you present them with relevant, actionable content.

Learn more about landing pages in Salesforce Help.

The API to access the Landing Page object follows the conventions described in Version 5 Overview.

OperationHTTP VerbURL FormatAbility Requirements
CreatePOSThttps://pi.pardot.com/api/v5/objects/landing-pages?<params>Landing Pages > Landing Page > Create
ReadGEThttps://pi.pardot.com/api/v5/objects/landing-pages/<id>?<params>Landing Pages > Landing Page > View
QueryGEThttps://pi.pardot.com/api/v5/objects/landing-pages?<params>Landing Pages > Landing Page > View
Add TagPOSThttps://pi.pardot.com/api/v5/objects/landing-pages/<id>/do/addTagLanding Pages > Landing Page > Create AND Marketing > Segmentation > Tags > Create
Remove TagPOSThttps://pi.pardot.com/api/v5/objects/landing-pages/<id>/do/removeTagLanding Pages > Landing Page > Create AND Marketing > Segmentation > Tags > Create
FieldTypeDescription
nameStringName of the object for identification in Account Engagement.
campaignIdIntegerID of the campaign related to this object.
FieldTypeDescription
folderIdIntegerID of the folder containing this object.
formIdIntegerID of the form related to this object.
layoutTemplateIdIntegerID of the layout template related to this object.
titleStringThe landing page's title.
descriptionStringThe landing page's meta description. Used for SEO.
isDoNotIndexBooleanTrue if the landing page is hidden from search engine indexing.
vanityUrlPathStringThe unique path for the asset, used to create the vanity URL.
scriptFragmentStringThe script specified for a landing page using a stock template. This field isn’t queryable.
redirectLocationStringThe redirect URL used if the prospect is redirected instead of showing the thank you content.
trackerDomainIdIntegerID of the tracker domain associated with this object.
archiveDateDateThe landing page's archive date('yyyy-mm-dd').
contentStringThe editable content if using a stock template. This field isn’t queryable.
openingGeneralContentStringIf using a layout template without pardot-region attributes, this value will be displayed in the %%form-opening-general-content%% tag. More info. This field isn’t queryable.
regionContentLayout Template Region{}If using a layout template that contains pardot-region attributes, the values here override the default values in the layout template. This field isn’t queryable.
FieldTypeDescription
idIntegerID of the object.
salesforceIdStringSalesforce Id of the object.
isDeletedBooleanTrue if the object is in the recycle bin in Account Engagement.
createdByIdIntegerID of the user who created this object.
createdAtDateTimeCreation time of the object.
updatedAtDateTimeLast update time of the object.
updatedByIdIntegerID of the user who last updated this object.
layoutTypeEnumSpecifies where the landing page was created. See Landing Page Layout Type Enum below.
layoutCssStringThe CSS code for the layout template. This field isn’t queryable.
layoutCssGeneratedStringThe generated CSS code for the layout template. This field isn’t queryable.
layoutTableBorderIntegerSpecifies the layout table border width.
isUseRedirectLocationBooleanTrue if the prospect is redirected instead of showing the form thank you content.
bitlyIsPersonalizedBooleanTrue if the object has a bitly URL that is personalized.
bitlyShortUrlStringThe bit.ly URL of the landing page, if present.
urlStringThe link for the landing page.
vanityUrlStringThe vanity URL of the landing page, if present.
layoutTemplateLayout TemplateLayout Template object representing the layout template associated with the landing page. See the documentation for Layout Template for fields.
formFormForm object representing the form associated with the landing page. See the documentation for Form for fields.
createdByUserUser object representing the user who created this object. See documentation for User for fields.
updatedByUserUser object representing the user who last updated this object. See documentation for User for fields.
trackerDomainTrackerDomainTracker Domain object representing the tracker domain that was set on Create. See documentation for Tracker Domain for fields. A null value indicates that the object uses the default tracker domain for the account.
campaignCampaignCampaign object representing the campaign that was set on Create. See documentation for Campaign for fields.
folderFolderJSON object representing the folder for this object. See documentation for Folder for fields.
  • Learn more about region in Control Which Landing Page Content Users Can Change.
  • The value for regionContent is a comma-separated enumeration of the regions. It follows the format below, where regionName is the value of the pardot-region attribute to the HTML element defined in the layout template.
  • The fields for each region will change depending on the type of region.
Field NameData TypeRegion Type
altStringImage
heightStringImage
widthStringImage
srcStringImage
hrefStringLink
targetStringLink
contentString
  • HTML
  • Simple
  • Basic
  • WYSIWYG
  • None

A Landing Page POST request must have a JSON body with all of the required fields specified. Note that all HTML content must be JSON escaped.

  • The content field is optional and doesn't provide the layoutTemplateId field.

Example request:

Example response:

This example doesn't show all the headers. Whitespace has been added to make it easier to read.

  • The layoutTemplateId field is required and the openingGeneralContent field is optional.

Example request:

Example response:

This example doesn't show all the headers. Whitespace has been added to make it easier to read.

  • The layoutTemplateId field is required and the regionContent field is optional.

Example request:

Example response:

This example doesn't show all the headers. Whitespace has been added to make it easier to read.

Examples include extra spaces for readability and don't always include headers. The fields in the response body and Location header match the fields specified on the example request.

Retrieve a single landing page following the conventions described in the Version 5 Overview.

Example request:

Example response:

Retrieving a collection of landing pages follows the conventions described in Version 5 Overview.

Example request:

Example response:

When executing a query, the following fields can be specified. See the conventions for query described in the Version 5 Overview.

  • id
  • createdAt
  • updatedAt

When executing a query, the following parameters are used to filter the returned results. These parameters are specified in the request along with any shared parameters defined in Version 5 Overview. When specifying more than one parameter, all parameters must match the record in order for it to be returned in the results.

ParameterDescription
idReturns any landing pages where ID is equal to the given integer value.
idListReturns any landing pages where ID is included in the given list of values.
idGreaterThanReturns any landing pages where ID is greater than the specified value, non-inclusive.
idGreaterThanOrEqualToReturns any landing pages where ID is greater than or equal to the specified value.
idLessThanReturns any landing pages where ID is less than the specified value, non-inclusive.
idLessThanOrEqualToReturns any landing pages where ID is less than or equal to the specified value.
nameReturns any landing pages where Name is equal to the given string value.
createdAtReturns any landing pages where CreatedAt is equal to the given datetime value.
createdAtAfterReturns any landing pages where CreatedAt is after the given datetime value, non-inclusive.
createdAtAfterOrEqualToReturns any landing pages where CreatedAt is after or equal to the given datetime value.
createdAtBeforeReturns any landing pages where CreatedAt is before the given datetime value, non-inclusive.
createdAtBeforeOrEqualToReturns any landing pages where CreatedAt is before or equal to the given datetime value.
updatedAtReturns any landing pages where UpdatedAt is equal to the given datetime value.
updatedAtAfterReturns any landing pages where UpdatedAt is after the given datetime value, non-inclusive.
updatedAtAfterOrEqualToReturns any landing pages where UpdatedAt is after or equal to the given datetime value.
updatedAtBeforeReturns any landing pages where UpdatedAt is before the given datetime value, non-inclusive.
updatedAtBeforeOrEqualToReturns any landing pages where UpdatedAt is before or equal to the given datetime value.
layoutTypeReturns any landing pages where LayoutType is equal to the given string value.
deletedDetermines whether to return deleted records. The value can be false (default), true, or all.

Example request:

Example response:

Adds a Tag to the Landing Page object, which creates a TaggedObject.

Example Request

Example Response

Remove a tag from a Landing Page object. When you remove a tag, the associated TaggedObject record is deleted.

Example Request

Example Response

Returns code 204 no content.


  • Layout Template : The builder for classic landing page with a layout template.
  • Landing Page Builder : The builder for classic landing page with a preformatted stock template.
  • Legacy Page Builder : The legacy builder.
  • Salesforce Builder : The builder for enhanced landing page experience.