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.
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.
{ messagingEndpoint, https, tenantId, appId?, ready, links, permissions }.
curl -X GET 'https://app.useroster.work/api/workspaces/string/teams/string/hires/string'Example Response
Empty