Get one lead's copy
Copy rows for one lead.
GET/api/v1/campaigns/{id}/leads/{leadId}/copy
Parameters
Path
| Name | In | Description |
|---|---|---|
idrequired | path | The record's id. |
leadIdrequired | path | The lead's id. |
Example
curl
curl -X GET "https://crm.ashwanth.dev/api/v1/campaigns/{id}/leads/{leadId}/copy" \
-H "Authorization: Bearer $SALES_ENGINE_API_KEY"CLI
sales-engine campaigns lead-copy <id> <leadId>Response
A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.
Shape
{
"data": { ... }
}Run it below to see the live shape for your workspace.
Try it
Runs against this server, as the workspace behind the key. Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Path
requiredThe record's id.
requiredThe lead's id.
Request
GET /api/v1/campaigns/%7Bid%7D/leads/%7BleadId%7D/copy
Fill the path first.