AnsweredAssumed Answered

Using "Add to List" REST API - POST not supported

Question asked by 59143127287f25f15698e8d4e85a26e096892a78 on Dec 19, 2018
Latest reply on Dec 20, 2018 by 59143127287f25f15698e8d4e85a26e096892a78

Hi,

 

I'm trying to use the "Add to List" REST API to add People to a list in Marketo using:

POST /rest/v1/lists/1156/leads.json

{

   "input":[

      {

         "id": "1005065"

      },

      {

         "id": "1007149"

      }

   ]

}

I'm getting the following 605 error:

{

   "requestId": "13e2b#167c8a54915",

    "success": false,

    "errors": [

        {

            "code": "605",

            "message": "Request method 'POST' not supported"

        }

    ]

}

 

The API doc specifically states to use POST and I've double checked that the role assigned to my API user has Read/Write to Person/Asset etc.   I tried GET and it just returns the contents of the list, as expected.  Is there a different method I should be using to add People to a static list?

Outcomes