Create a lead note
Scope: crm:deals.write https://api.alladdin.com/api/v2/leads/{leadId}/notes
Creates a new note for a lead.
Parameters
Path parameters
leadId string required
Lead ID
Request body
object title string required
Note title
description string required
Note body (required — the legacy note store rejects an empty description)
Request
import requests
url = "https://api.alladdin.com/api/v2/leads/{leadId}/notes"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
payload = {
"title": "string",
"description": "string"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())Responses
Response
{
"id": "507f1f77bcf86cd799439011"
}Success responses
201 Note created 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
