cURL
curl --request POST \ --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#CLOSE_CREATE_RECORD_LEAD' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "action": "CLOSE_CREATE_RECORD_LEAD", "parameters": { "name": "<string>", "leadDescription": "<string>", "leadContact": {}, "leadAddress": {}, "status": "<string>", "leadAdditionalFields": {} } } '
Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Name : Specify the name of the lead.
Description : Specify a description for this lead.
Contacts : Specify contact details as JSON to attach to this lead. (example: "[ { "name": "Gob", "title": "Sr. Vice President", "emails": [ { "type": "office", "email": "[email protected]" } ], "phones": [ { "type": "office", "phone": "8004445555" } ] } ]")
Addresses : Specify address details as JSON to attach to this lead. (example: "[ { "label": "business", "address_1": "747 Howard St", "address_2": "Room 3", "city": "San Francisco", "state": "CA", "zipcode": "94103", "country":"US", } ]")
The status of the lead
Additional Fields : Specify any additional fields that should be created with this lead as JSON. See the docs (https://developer.close.com/resources/leads/#create-a-new-lead) for available fields. (example: "{ "confidence": 90, "value_period": "monthly", "custom.cf_j0P7kHmgFTZZnYBFtyPSZ3uQw4dpW8xKcW7Krps8atj": "https://www.example.com/contract.pdf" }")
Success
Was this page helpful?