Sign in

Create a person

documented

Create a new person in the workspace.

POST /v1/peoplePeopleno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.folk.app/v1/people" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"firstName":"{{$firstName}}","lastName":"{{$lastName}}","fullName":"{{$fullName}}","description":"{{$description}}","birthday":"{{$birthday}}","jobTitle":"{{$jobTitle}}","groups":[{"id":"{{$group_id}}"}],"companies":[{"name":"{{$company_name}}","id":"{{$company_id}}"}],"addresses":["{{$address1}}","{{$address2}}"],"emails":["{{$email1}}","{{$email2}}"],"phones":["{{$phone1}}","{{$phone2}}"],"urls":["{{$url1}}","{{$url2}}"],"customFieldValues":{"{{$group_id}}":{"Status":"{{$status}}","Programming languages":["{{$lang1}}","{{$lang2}}"],"Join date":"{{$join_date}}","Relationships":[{"id":"{{$relationship_person_id}}","fullName":"{{$relationship_person_fullname}}","entityType":"person"},{"id":"{{$relationship_company_id}}","fullName":"{{$relationship_company_fullname}}","entityType":"company"}]}}}'