Update a lead note
Scope: crm:deals.write https://api.alladdin.com/api/v2/leads/{leadId}/notes
Updates an existing note for a lead.
Parameters
Path parameters
leadId string required
Lead ID
Request body
object note_id string required
Note ID
title string | null optional
Note title
description string | null optional
Note description
Request
import requests
url = "https://api.alladdin.com/api/v2/leads/{leadId}/notes"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
payload = {
"note_id": "string",
"title": "string",
"description": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())Responses
Response
{
"id": "string"
}Success responses
200 Note updated application/json object id string
Error responses
400 Bad request application/json 401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Lead not found application/json 429 Rate limit exceeded application/json
