Custom Field Object
Use custom fields to capture and track more data about your prospects. You can use custom fields in forms and sync the Account Engagement fields with Salesforce fields. Learn more about Account Engagement fields in Salesforce Help.
The API to access the Custom Field object follows the conventions described in Version 5 Overview.
Operation | HTTP Verb | URL Format | Ability Requirements |
---|---|---|---|
Read | GET | https://pi.pardot.com/api/v5/objects/custom-fields/<id>?<params> | Prospect > Prospects > Configure Fields |
Create | POST | https://pi.pardot.com/api/v5/objects/custom-fields?<params> | Prospect > Prospects > Configure Fields |
Update | PATCH | https://pi.pardot.com/api/v5/objects/custom-fields/<id>?<params> | Prospect > Prospects > Configure Fields |
Delete | DELETE | https://pi.pardot.com/api/v5/objects/custom-fields/<id> | Prospect > Prospects > Configure Fields |
Query | GET | https://pi.pardot.com/api/v5/objects/custom-fields?<params> | Prospect > Prospects > Configure Fields |
Add Tag | POST | https://pi.pardot.com/api/v5/objects/custom-fields/<id>/do/addTag | Prospect > Prospects > Configure Fields AND Marketing > Segmentation > Tags > Create |
Remove Tag | POST | https://pi.pardot.com/api/v5/objects/custom-fields/<id>/do/removeTag | Prospect > Prospects > Configure Fields AND Marketing > Segmentation > Tags > Create |
Field | Type | Description |
---|---|---|
name | String | Name of the object for identification in Account Engagement. |
fieldId | String | User-defined ID of the object. |
type | String | Possible values: Text, "Radio Button", Checkbox, Dropdown, Textarea, Multi-Select, Hidden, Number, Date, "CRM User" |
Field | Type | Description |
---|---|---|
isRecordMultipleResponses | Boolean | True if it records multiple responses, false otherwise. |
salesforceId | String | Salesforce Id of the object. |
isUseValues | Boolean | True if values are used false otherwise. |
valuesPrefill | String | Write-Only field on create operation. Possible values: Countries, "Country Codes", "US States", "US State Codes", "Canadian Provinces", "Canadian Province Codes", "US States and Canadian Provinces", "US State and Canadian Province Codes", "Japanese Prefectures", "Japanese Prefecture Codes" |
isRequired | Boolean | True if the custom field is required. |
Field | Type | Description |
---|---|---|
id | Integer | ID of this object. |
isAnalyticsSynced | Boolean | True if the object is synced to Analytics. |
createdAt | DateTime | Creation time of this object. |
updatedAt | DateTime | Last updated time for the object. |
createdById | Integer | ID of the user who created the object. |
updatedById | Integer | ID of the user who last updated the object. |
createdBy | User | User object representing the user who created the object. See documentation for User for fields. |
updatedBy | User | User object representing the user who last updated the object. See documentation for User for fields. |
Create a custom field following the conventions described in the Version 5 Overview.
Example Request
Example Response
Retrieve a single custom field object following the conventions described in the Version 5 Overview.
Example Request
Example Response
Update a single custom field object following the conventions described in the Version 5 Overview.
Example Request
Example Response
Delete a custom field object following the conventions described in the Version 5 Overview.
Example Request
Example Response
204 No Content
Retrieving a collection of custom fields follows the conventions described in Version 5 Overview.
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
updatedAt
Example Request
Example Response
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.
Parameter | Description |
---|---|
id | Returns any custom fields where ID is equal to the given integer value. |
idList | Returns any custom fields where ID is included in the given list of values. |
idGreaterThan | Returns any custom fields where ID is greater than the specified value, non-inclusive. |
idGreaterThanOrEqualTo | Returns any custom fields where ID is greater than or equal to the specified value. |
idLessThan | Returns any custom fields where ID is less than the specified value, non-inclusive. |
idLessThanOrEqualTo | Returns any custom fields where ID is less than or equal to the specified value. |
name | Returns any custom fields where Name is equal to the given string value. |
createdAt | Returns any custom fields where CreatedAt is equal to the given datetime value. |
createdAtAfter | Returns any custom fields where CreatedAt is after the given datetime value, non-inclusive. |
createdAtAfterOrEqualTo | Returns any custom fields where CreatedAt is after or equal to the given datetime value. |
createdAtBefore | Returns any custom fields where CreatedAt is before the given datetime value, non-inclusive. |
createdAtBeforeOrEqualTo | Returns any custom fields where CreatedAt is before or equal to the given datetime value. |
updatedAt | Returns any custom fields where UpdatedAt is equal to the given datetime value. |
updatedAtAfter | Returns any custom fields where UpdatedAt is after the given datetime value, non-inclusive. |
updatedAtAfterOrEqualTo | Returns any custom fields where UpdatedAt is after or equal to the given datetime value. |
updatedAtBefore | Returns any custom fields where UpdatedAt is before the given datetime value, non-inclusive. |
updatedAtBeforeOrEqualTo | Returns any custom fields where UpdatedAt is before or equal to the given datetime value. |
Example Request
Example Response
Adds a Tag to the Custom Field object, which creates a TaggedObject.
Example Request
Example Response
Remove a tag from a Custom Field object. When you remove a tag, the associated TaggedObject record is deleted.
Example Request
Example Response
Returns code 204 no content
.