Create a person

Add one person to your Loxo database.

POST https://cotlet.dev/api/v1/loxo/persons

write

Creates the profile as the Add People form does and returns its person_id. Required fields that an admin set for new people apply, and a missing one fails the call with its name. Loxo can flag a duplicate after creation, so run search_people first. It creates no profile from a resume file. It reaches no one, so it does not wait for your OK by default.

Parameters

Parameters: create_person
NameTypeDescription
name string required string Full name.
email string string Email address.
email_type string string Email type, for example Personal or Work.
phone string string Phone number.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/loxo/persons \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Jane Doe"}'
Python
result = client.call("loxo", "create_person", {"name":"Jane Doe"})
Node.js
const result = await cotlet.call('loxo', 'create_person', {"name":"Jane Doe"});
CLI
cotlet call loxo create_person --data '{"name":"Jane Doe"}'

Example response

JSON

{
  "person_id": 48211190,
  "name": "Marcus Webb",
  "created": true
}

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.