PATCH /v1/leads/:id
PATCH
scope: leads.write
0 credits
/v1/leads/:idUpdate a lead's classification from an external system. Triggers a lead.updated webhook event.
The :id is a reply UUID — classification updates apply to all replies from this email in the same campaign.
Try it
PATCH
/v1/leads/{id}Saved locally in your browser
Path Parameters
Reply UUID of the lead
Request Body
URL
https://slazbvfvliieskvkjtav.supabase.co/functions/v1/api-gateway/v1/leads/{id}Enter your API key above to send requests
- Request
- Response 200
{ "classification": "hot", "notes": "Spoke on phone, very interested in Q2 deal" }
{ "updated": true, "email": "john@acme.com", "classification": "hot", "updated_at": "2026-03-21T10:00:00Z" }