---
title: "Invite Teammate"
method: POST
path: "/team/invite"
tags: ["team"]
---

# Invite Teammate

`POST /team/invite`

## Request

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

Invite a teammate onto the current user's business. Only an owner
may invite (require_role(owner) above) -- editors/viewers can't grant
access to others. Role is restricted to editor/viewer: an invite can
never grant "owner" (there is exactly one owner per business -- the
original account holder -- in this basic-scope version; ownership
transfer isn't supported yet).

## Request body

- InviteRequest
  - `email` string, email, required
  - `role` string

## Response `200`

Successful Response

- MembershipResponse
  - `id` string, required
  - `invited_email` string, required
  - `role` string, required
  - `status` string, required
  - `member_user_id` string, nullable
  - `created_at` string, nullable
  - `accepted_at` string, nullable

## Other responses

- `422`: Validation Error

---

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