Leads

Update an existing lead

Modify lead information including contact details, custom variables, status, and other metadata. All fields are optional - only provide the fields you want to update. Useful for keeping lead data up-to-date during campaigns.

patch/v3/user-api/leads/{id}

Request

  • Base URL
    https://api.nureply.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: x-personal-api-key

Path parameters

idstring required

Headers

x-personal-api-keystring required

API Key from Dashboard

Request body

firstNamestring

First name of the lead

lastNamestring

Last name of the lead

companyNamestring

Company name

linkedInUrlstring

LinkedIn profile URL

websiteUrlstring

Website URL

personalizationstring

AI-generated personalization text

statusstring

Lead status

Example request

{
  "firstName": "John",
  "lastName": "Doe",
  "companyName": "Acme Corporation",
  "linkedInUrl": "https://linkedin.com/in/johndoe",
  "websiteUrl": "https://example.com",
  "personalization": "I noticed your recent article about cloud infrastructure...",
  "otherVariables": [
    {
      "name": "industry",
      "value": "Technology"
    },
    {
      "name": "company_size",
      "value": "50-200"
    }
  ],
  "status": "contacted"
}

Response

messagestring required

Example response

{
  "message": "Lead updated successfully",
  "data": {
    "address": "john.doe@example.com",
    "firstName": "John",
    "lastName": "Doe",
    "companyName": "Acme Corporation",
    "linkedInUrl": "https://linkedin.com/in/johndoe",
    "websiteUrl": "https://example.com",
    "personalization": "I noticed your recent article about cloud infrastructure...",
    "domain": "example.com",
    "notes": [],
    "otherVariables": [
      {
        "name": "company_size",
        "value": "50-200 employees"
      }
    ],
    "completedStepIds": [],
    "receivedEmails": [],
    "leadListId": "653a2b0bf5444e11e5cdd1ce",
    "owner": "62878b4e647d7bd25db029a3",
    "_id": "653a45e0b2a95af9259031d5",
    "nextSendingDate": "2023-10-26T10:56:32.468Z",
    "createdAt": "2023-10-26T10:56:32.624Z",
    "updatedAt": "2023-10-26T10:56:32.624Z",
    "id": "653a45e0b2a95af9259031d5"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.