Skip to main content
POST
/
v1
/
deals
/
:id
/
notes
Create Deal Note
curl --request POST \
  --url https://api.example.com/v1/deals/:id/notes \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "content": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "title": "<string>",
    "content": "<string>",
    "created_date": "<string>"
  }
}

Request

Path Parameters

id
string
required
Deal ID (UUID)

Body Parameters

title
string
required
Note title
content
string
Note content (max 10,000 characters)

Headers

Authorization: Bearer wbk_your_api_key_here
Content-Type: application/json

Response

data
object
curl -X POST https://data.leadlex.com/functions/v1/api-gateway/v1/deals/deal-001/notes \
  -H "Authorization: Bearer wbk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Pricing discussion", "content": "Client agreed to annual billing" }'

Errors

StatusCodeDescription
400validation_errorMissing title
404not_foundDeal not found
403insufficient_permissionsMissing deals:write permission