---
title: "Invite a colleague to this firm by email (admin)"
method: POST
path: "/v1/members/invite"
tags: ["members"]
---

# Invite a colleague to this firm by email (admin)

`POST /v1/members/invite`

## Request

- Base URL: `https://api.sixminute.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sixminute.ai/v1/members/invite`
- Auth: HTTP bearer

WorkOS creates the invitation, good for seven days, and THIS SERVICE emails it (D-76): the message names the firm, the role and the download page, and carries no accept link and no token, because the person's first sign-in accepts it and creates their rows with this role (D-73). An address that already has a membership in this firm is a 409 naming the patch that changes it. Without a mail key the route answers 503 before creating anything; a send that fails revokes the invitation and answers 502.

## Request body

- object
  - `email` string, email, required
  - `role` 'timekeeper' | 'billing' | 'admin', required

## Response `201`

The invitation, created and emailed.

- object
  - `id` string, required
  - `email` string, email, required
  - `role` 'timekeeper' | 'billing' | 'admin', required
  - `expires_at` string, date-time, required
  - `created_at` string, date-time, required

## Other responses

- `400`: The body, query or path did not validate; `errors` lists the fields.
- `401`: No bearer token, or one that does not verify or has expired.
- `403`: The token verified but may not do this: no organisation, not provisioned, wrong role, or a device problem.
- `409`: The id or the email already belongs to something else.
- `429`: Too many requests; `Retry-After` says how long to wait.
- `502`: An upstream this service depends on failed or answered nonsense.
- `503`: A capability this service was not configured with, or a practice system that could not be reached; the `type` says which.

---

[API](https://skmtc.dev/sixminute/apis/sixminute-api.md) - [All operations](https://skmtc.dev/sixminute/apis/sixminute-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sixminute/apis/sixminute-api/revisions/605577eadc10?raw)
