Get clearance to submit
freeapply_clear_to_submitChecks submission pace, user limits, and unattended-run budgets before applying to one job, then returns clearance or refusal so you know whether to submit now.
Instructions
Gives the go-ahead for one submit after checking the pace, the user's limits and, in an unattended run, its budgets. Unlike freeapply_update_job, which records the submit afterwards, it comes right before it; recording applied is refused without its clearance. Use it right before every submit, with the job_id. Not early, and not for a job you won't submit now: each clearance counts toward the per-minute pace at once. Behavior: allows at most 3 submissions a minute (or the user's slower setting), keeps the user's daily cap and, for easy_apply, whether the user allows one-click apply. A clearance is for one job, lasts 15 minutes and is used up when freeapply_update_job records applied; asking again for the same job issues a new one. Clearances last only while FreeApply runs. Parameters: job_id gets the clearance; without it you only see the pace. method (default external) matters only for easy_apply, refused while one-click apply is off. run_id, in an unattended run, first checks that run's time and application budgets and the dashboard's Stop button. Returns: {clear, advice, last_minute, limit_per_minute, today, daily_cap}, plus clearance {job_id, expires_at} when clear. clear false: don't submit; prepare the next job and call again later. refused: one-click apply is off; apply on the employer's site or skip the job. stop_run true, with reason: the run must end now; call freeapply_autorun action finish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The job about to be submitted. | |
| method | No | How you will submit: external (an employer or ATS form; default), easy_apply (a job board's one-click apply) or email. | |
| run_id | No | In an unattended run only: the run_id that freeapply_autorun start returned. |