Log candidate activity

Log a progression trigger on a candidate in a job, with an optional note.

POST https://cotlet.dev/api/v1/loxo/jobs/{job_id}/activities

write Confirm

Logs the trigger as the activity drop-down on the profile does. Loxo adds two events, "Moved to {stage}" and the trigger, so the candidate also changes stage. A trigger name your workflow does not have fails the call. A stage with an Email Automation can start sending its emails. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: log_activity
NameTypeDescription
job_id integer required integer Job id.
person_id integer required integer Person id.
activity string required string Progression trigger name from list_workflow_stages, for example 1st Interview.
note string string Text saved with the activity.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/loxo/jobs/2481530/activities \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"person_id":48211102,"activity":"1st Interview","note":"Good system design answers."}'
Python
result = client.call("loxo", "log_activity", {"job_id":2481530,"person_id":48211102,"activity":"1st Interview","note":"Good system design answers."})
Node.js
const result = await cotlet.call('loxo', 'log_activity', {"job_id":2481530,"person_id":48211102,"activity":"1st Interview","note":"Good system design answers."});
CLI
cotlet call loxo log_activity --data '{"job_id":2481530,"person_id":48211102,"activity":"1st Interview","note":"Good system design answers."}'

Example response

JSON

{
  "job_id": 2481530,
  "person_id": 48211077,
  "stage": "Interviewing",
  "events": [
    "Moved to Interviewing",
    "1st Interview"
  ],
  "note": "Strong on Spark, wants a remote role."
}

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.