POST /v1/suggest
POST
scope: suggest
1 credit
/v1/suggestAsk Corty for a reply suggestion based on lead context. Corty draws from your workspace's learned tone profile and past edits to calibrate the response.
Try it
POST
/v1/suggestSaved locally in your browser
Request Body
URL
https://slazbvfvliieskvkjtav.supabase.co/functions/v1/api-gateway/v1/suggestEnter your API key above to send requests
Parameters
| Field | Type | Description | |
|---|---|---|---|
reply_received | string | required | The incoming reply from the lead |
lead_name | string | optional | Lead's first name for personalization |
lead_email | string | optional | Lead's email address |
company | string | optional | Lead's company name |
campaign_context | string | optional | Brief campaign description for context |
medium | string | optional | email (default), linkedin, whatsapp — influences suggestion style |
tone | string | optional | Desired tone override (default: professional and conversational) |
previous_messages | array | optional | Prior thread messages (max 10). Each needs role (outbound|reply) and content |
- Request
- Response 200
{
"reply_received": "Sounds interesting, tell me more about pricing.",
"lead_name": "John",
"lead_email": "john@acme.com",
"company": "Acme Corp",
"medium": "email",
"campaign_context": "B2B SaaS outreach for CRM tools",
"previous_messages": [
{ "role": "outbound", "content": "Hi John, I noticed Acme Corp is scaling..." },
{ "role": "reply", "content": "Sounds interesting, tell me more about pricing." }
]
}
{
"suggestion": "Hey John, great that you're curious about pricing...",
"strategy": "Address pricing interest directly, propose a quick call",
"confidence": 0.87,
"medium": "email",
"model": "claude-sonnet-4-6",
"credits_used": 1,
"credits_remaining": 4523
}