Reject an application
POST/v1/applications/:id/reject
Rejects an application and optionally sends the candidate a rejection email.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Application rejected
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to manage this application, or the API key lacks the applications:reject scope (err_insufficient_scope).
Application not found (err_application_not_found).
Validation failed. Error codes:
err_application_not_active— the application is already rejected, a duplicate, or was transferrederr_application_linked_to_user— the acting user is the candidate on this applicationerr_rejection_reason_not_found—rejection_reason_idis not a rejection reason in the accounterr_rejection_reason_inactive— the rejection reason is disablederr_rejection_reason_system— the rejection reason is reserved for automatic AI-score rejectionserr_email_template_not_found—email_template_idis not an email template in the accounterr_email_template_invalid_category— the email template is not a rejection templateerr_email_template_requires_survey— the email template contains a survey link, which this endpoint can't fillerr_candidate_email_missing— the candidate has no email addresserr_sender_mailbox_not_connected— there is no connected mailbox to send the email fromerr_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action- Field errors when
send_email_atis not ISO 8601 or is in the past