Create
POST https://{{domain}}/api/v5/objects/list-memberships?fields=id,listId,prospectId,optedOut,createdAt,updatedAt,createdById,updatedById,isDeleted
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string | (required) ListMembership fields to return |
Request Body
{"listId"=>0, "prospectId"=>0, "optedOut"=>false}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Pardot-Business-Unit-Id | string |