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 https://cotlet.dev/api/v1/ashby/archive-reasons \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("ashby", "list_archive_reasons") const result = await cotlet.call('ashby', 'list_archive_reasons'); cotlet call ashby list_archive_reasons Example response
{
"archive_reasons": [
{
"name": "Not a fit"
},
{
"name": "Position filled"
},
{
"name": "Candidate withdrew"
}
]
}