Create candidate

A new candidate record with name, contact fields and skills.

POST https://cotlet.dev/api/v1/jobdiva/candidates

write

Only first_name and last_name are required. Returns the new candidate_id. It does not check for duplicates, so run find_candidate first. It sends nothing and reaches no one, so it does not wait for your OK.

Parameters

Parameters: create_candidate
NameTypeDescription
first_name string required string First name.
last_name string required string Last name.
email string string Email address.
cell_phone string string Cell phone number.
city string string City.
state string string State.
skills string[] string[] Skills to put on the record.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/jobdiva/candidates \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"first_name":"Dana","last_name":"Whitfield","email":"dana.whitfield@example.com","cell_phone":"+1 312 555 0182","city":"Chicago","state":"IL","skills":["SQL","Python"]}'
Python
result = client.call("jobdiva", "create_candidate", {"first_name":"Dana","last_name":"Whitfield","email":"dana.whitfield@example.com","cell_phone":"+1 312 555 0182","city":"Chicago","state":"IL","skills":["SQL","Python"]})
Node.js
const result = await cotlet.call('jobdiva', 'create_candidate', {"first_name":"Dana","last_name":"Whitfield","email":"dana.whitfield@example.com","cell_phone":"+1 312 555 0182","city":"Chicago","state":"IL","skills":["SQL","Python"]});
CLI
cotlet call jobdiva create_candidate --data '{"first_name":"Dana","last_name":"Whitfield","email":"dana.whitfield@example.com","cell_phone":"+1 312 555 0182","city":"Chicago","state":"IL","skills":["SQL","Python"]}'

Example response

JSON

{
  "candidate_id": 5841230,
  "name": "Dana Whitfield",
  "status": "created"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.