Re: API Documentation Question - Activities

Chris_Wilcox
Level 9

API Documentation Question - Activities

Looking for ANY documentation anyone has or has found about three specific activity types in the API:

Activity ID Description

113 Add to Nurture

114 Change Nurture Track

115 Change Nurture Cadence

Specifically, I'm trying to understand what fields are even available in association with those three activity types. I can't find anything in the Marketo documentation, and even dealing with support it seems like documentation is spotty at best...

Thanks!

Chris

1 REPLY 1
Mark_Price
Level 7

Re: API Documentation Question - Activities

If you are talking about the metadata / attributes stored within the Activity itself, this endpoint will give you those details:

GET /rest/v1/activities/types.json

http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#/Activit...

Sample output for the Ids you mentioned:

{

"id": 113,

"name": "Add to Nurture",

"description": "Add a lead to a nurture program",

"primaryAttribute": {

"name": "Program ID",

"dataType": "integer"

},

"attributes": [

{

"name": "Track ID",

"dataType": "integer"

}

]

},

{

"id": 114,

"name": "Change Nurture Track",

"description": "Change the nurture track for a lead",

"primaryAttribute": {

"name": "Program ID",

"dataType": "integer"

},

"attributes": [

{

"name": "New Track ID",

"dataType": "integer"

},

{

"name": "Previous Track ID",

"dataType": "integer"

}

]

},

{

"id": 115,

"name": "Change Nurture Cadence",

"description": "Change the nurture cadence for a lead",

"primaryAttribute": {

"name": "Program ID",

"dataType": "integer"

},

"attributes": [

{

"name": "New Nurture Cadence",

"dataType": "string"

},

{

"name": "Previous Nurture Cadence",

"dataType": "string"

}

]

}

If you're not a developer, you can use Postman to run quick tests like this.

hope it helps!