Create candidate
Create a candidate record with name and contact details.
POST https://cotlet.dev/api/v1/jobadder/candidates
write Confirm
Creates a candidate and returns its candidate_id. Search first: the tool does not merge duplicates. Resume files are not uploaded. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| first_name string required | string | First name. |
| last_name string required | string | Last name. |
| email string | string | Email address. |
| phone string | string | Phone number. |
Request
curl -X POST https://cotlet.dev/api/v1/jobadder/candidates \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"first_name":"first name","last_name":"last name"}' result = client.call("jobadder", "create_candidate", {"first_name":"first name","last_name":"last name"}) const result = await cotlet.call('jobadder', 'create_candidate', {"first_name":"first name","last_name":"last name"}); cotlet call jobadder create_candidate --data '{"first_name":"first name","last_name":"last name"}' Example response
{
"candidate_id": "cand_20987",
"name": "Marta Kowal",
"email": "marta.kowal@example.com"
}