Dismiss potential duplicates of a lead Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.plannrcrm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "PlannrCRM MCP server": {
    "url": "https://apidocs.plannrcrm.com/mcp"
  }
}

Close
POST /api/v1/leads/{lead_uuid}/potential-duplicates/dismiss

Marks the given matches as not-a-duplicate of the lead, recording who dismissed them and when. A dismissed match is not flagged again when the lead is edited. Dismissing a lead match resolves it on both leads.

Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • lead_uuid string Required

    The UUID of the lead.

application/json

Body

  • matched_uuids array Required

    UUIDs of the matched leads and clients the user is marking as not-a-duplicate of this lead. UUIDs that are not an unresolved match are ignored.

Responses

  • 204 application/json
  • 403 application/json

    Unauthorized

    Hide response attribute Show response attribute object
    • message string Required

      A human-readable description of the error.

  • 404 application/json

    Lead not found or not visible

    Hide response attribute Show response attribute object
    • message string Required

      A human-readable description of the error.

  • 422 application/json

    Validation error

    Hide response attributes Show response attributes object
    • message string Required

      A human-readable description of the error.

    • errors object

      Validation messages keyed by the field that failed.

      Hide errors attribute Show errors attribute object
      • * array[string] Additional properties
POST /api/v1/leads/{lead_uuid}/potential-duplicates/dismiss
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/leads/53f22fe4-3731-4cdc-aa12-e65bd0b15e52/potential-duplicates/dismiss' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{
  "matched_uuids": [
    "9b1f2a8b-7b1d-4d8a-bf2e-12d0a8f0c0aa"
  ]
}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "matched_uuids": [
    "9b1f2a8b-7b1d-4d8a-bf2e-12d0a8f0c0aa"
  ]
}
Response examples (204)
{}
Response examples (403)
{
  "message": "This action is unauthorized."
}
Response examples (404)
{
  "message": "Not Found"
}
Response examples (422)
{
  "message": "The given data was invalid.",
  "errors": {
    "field": [
      "The field is invalid."
    ]
  }
}