List archive reasons

The archive reasons your admin set up, to use in archive_application.

GET https://cotlet.dev/api/v1/ashby/archive-reasons

read

Returns the archive reasons an Ashby admin keeps under Admin > Jobs & Applications > Archive Reasons. archive_application accepts only these names. Ashby asks for a reason on every archive.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/ashby/archive-reasons \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("ashby", "list_archive_reasons")
Node.js
const result = await cotlet.call('ashby', 'list_archive_reasons');
CLI
cotlet call ashby list_archive_reasons

Example response

JSON

{
  "archive_reasons": [
    {
      "name": "Not a fit"
    },
    {
      "name": "Position filled"
    },
    {
      "name": "Candidate withdrew"
    }
  ]
}

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.