Lifecycle History Object

Use lifecycle history resources to learn how a prospect is moving through their sales journey, from visitor to won opportunity. Learn what stage they’re currently in, how long they’ve been in that stage, and where that stage sits in the overall sales journey. For information about lifecycle stages, see Lifecycle Stage Resources. Learn more about prospect lifecycles in Salesforce Help.

Include the authentication header with every request. For information on how to authenticate, see Authentication.

The API to access the Lifecycle History object collection follows the conventions described in Version 5 Overview.

OperationVerbURL FormatAbility Requirements
ReadGEThttps://pi.pardot.com/api/v5/objects/lifecycle-histories/<id>?<params>Prospect > Lifecycle > View report ability
QueryGEThttps://pi.pardot.com/api/v5/objects/lifecycle-histories?<params>Prospect > Lifecycle > View report ability

Read-Only Fields

FieldTypeDescription
idIntegerPardot ID of this lifecycle history.
prospectIdIntegerPardot ID for the prospect in this stage.
previousStageIdIntegerPardot ID of the stage this prospect previously was in.
nextStageIdIntegerPardot ID of the stage this prospect is in next.
secondsElapsedIntegerNumber of seconds for prospect to get to current stage.
createdAtDateTimeTime lifecycle history is created in Pardot; Time is reported in API user's preferred timezone.
prospectProspectProspect object representing the prospect for this object. See documentation for Prospect for fields.
previousStageLifecycle StageLifecycle stage object representing the previous stage this prospect previously was in. See documentation for Lifecycle Stage for fields.
nextStageLifecycle StageLifecycle stage object representing the previous stage this prospect is in next. See documentation for Lifecycle Stage for fields.

Retrieve a single lifecycle history object following the conventions described in the Version 5 Overview.

Example request:

Example response:

Retrieving a collection of lifecycle histories follows the conventions described in Version 5 Overview.

Sortable Fields

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

  • id
  • createdAt

Example request:

Example response:

Filtering Results

When executing a query, the following parameters can be used to filter the returned results. These parameters can be 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 lifecycle history where ID is equal to the given integer value.
idGreaterThanReturns any lifecycle histories where ID is greater than the specified value, non-inclusive.
idGreaterThanOrEqualToReturns any lifecycle histories where ID is greater than or equal to the specified value.
idLessThanReturns any lifecycle histories where ID is less than the specified value, non-inclusive.
idLessThanOrEqualToReturns any lifecycle histories where ID is less than or equal to the specified value.
createdAtReturns any lifecycle histories where CreatedAt is equal to the given datetime value.
createdAtAfterReturns any lifecycle histories where CreatedAt is after the given datetime value, non-inclusive.
createdAtAfterOrEqualToReturns any lifecycle histories where CreatedAt is after or equal to the given datetime value.
createdAtBeforeReturns any lifecycle histories where CreatedAt is before the given datetime value, non-inclusive.
createdAtBeforeOrEqualToReturns any lifecycle histories where CreatedAt is before or equal to the given datetime value.

Example request:

Example response: