Skip to main content
Create a role from a job description and get back a role ID plus an apply URL as JSON. The role is the anchor for stages, candidates, sourcing, and interviews.

Create a role

The --jd flag accepts inline text, a file path, an @path, or - for stdin.
Example output:
Capture the role ID for later commands:

Parameters

List and inspect roles

roles list returns:

List candidates on a role

Filter the pipeline view by stage or source:

Common errors

FAQ

Yes. Use --jd @./job-description.md (the @ prefix), a plain path, or pipe via --jd -.
The .role.id from roles create, roles list, or roles get.
Yes. Read .apply_url — it points at app.staplehire.com/apply/<roleId>.
Related: Manage stages · Add a candidate · Source candidates