API Reference for Marketo Engage

Associate Lead

POST /rest/v1/leads/{leadId}/associate.json

Associates a known Marketo lead record to a munchkin cookie and its associated web activity history.

Operation ID
associateLeadUsingPOST
Permissions
Read-Write Lead
Request format
application/json
Returns
ResponseWithoutResult

Parameters

Path 1

leadId integer (int64) required

The id of the lead to associate

Query 1

Responses

200 OK ResponseWithoutResult
errors array of Error

Array of errors that occurred if the request was unsuccessful

Model Error

code string required

Error code of the error. See full list of error codes here

message string required

Message describing the cause of the error

nextPageToken string

Paging token returned from a previous response

requestId string required

Id of the request made

success boolean required

Whether the request succeeded

warnings array of Warning

Array of warnings given for the operation

Model Warning

code integer (int32) required

Integer code of the warning

message string required

Message describing the warning

Generated example
{
  "errors": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "nextPageToken": "example-token",
  "requestId": "123",
  "success": false,
  "warnings": [
    {
      "code": 123,
      "message": "string"
    }
  ]
}

Referenced models

Generated from swagger-mapi.json. Generated examples are inferred from the schema; they are illustrative and may not be valid production payloads.

↑ ↓ to move, ↵ to open, esc to closeSee all results