Add a person to a job
Put a person into a job pipeline at a stage.
POST https://cotlet.dev/api/v1/loxo/jobs/{job_id}/persons/{person_id}/to-job
write Confirm
Adds the person to the job in that stage, as "Add to Another Job" does. The person stays in the pipelines they are already in. A stage with an Email Automation can start sending its emails to the new candidate. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| person_id integer required | integer | Person id. |
| job_id integer required | integer | Job id from list_jobs. |
| stage string required | string | Stage name from list_workflow_stages. |
Request
curl -X POST https://cotlet.dev/api/v1/loxo/jobs/1/persons/1/to-job \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"stage":"stage"}' result = client.call("loxo", "add_person_to_job", {"person_id":1,"job_id":1,"stage":"stage"}) const result = await cotlet.call('loxo', 'add_person_to_job', {"person_id":1,"job_id":1,"stage":"stage"}); cotlet call loxo add_person_to_job --data '{"person_id":1,"job_id":1,"stage":"stage"}' Example response
{
"person_id": 48211190,
"job_id": 2481562,
"stage": "Longlist",
"added": true
}