Download a hire's Teams app
GET
A zip with the hire's Teams app manifest (its bot, name, role and the permission to read messages where it's added) and its two icons, to upload in Teams.
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.
application/zip.
curl -X GET 'https://app.useroster.work/api/workspaces/string/teams/string/hires/string/package'Example Response
Empty
How to set up a hire's Teams bot GET
The messaging endpoint to paste into the hire's bot, whether Teams can reach it (https), the bot ID saved so far and the pages to make the bot on. Save the bot's ID and client secret with `PUT /hires/:id/chat/:connection` (values `appId`, `clientSecret`); Roster checks them with Microsoft first.
Hires' GitHub identities GET
Every hire in the workspace with a GitHub App of its own.