A hire's GitHub identity
GET
{ set: false }, or the app: its login (e.g. builder-acme[bot]), whether it's installed, how many repositories it reaches, and links to manage it on GitHub.
sessioncookie
better-auth.session_token<token>Set by POST /api/auth/sign-in/email.
ws*stringThe workspace id (from GET /api/me).
connection*stringThe connection's id (from GET /api/workspaces/:ws/connections).
hire*stringThe hire's id.
The identity's status.
curl -X GET 'https://app.useroster.work/api/workspaces/string/github/string/hires/string'Example Response
Empty
Hires' GitHub identities GET
Every hire in the workspace with a GitHub App of its own.
Give a hire its own GitHub identity POST
Starts GitHub's app-manifest flow. Body: `{ owner: "organization", org: "acme" }` or `{ owner: "personal" }`. Answers with where to send the person: GitHub creates the app, then asks which repositories to install it on.