---
title: "Invite a user"
method: POST
path: "/user-invite"
---

# Invite a user

`POST /user-invite`

Invite a user based on the provided email and other details.

## Request body

- object
  - `email` string
  - `redirectTo` string
  - `data` object
    - `tenant_id` string
    - `tenant_name` string
    - `user_role` string
    - `title_id` string

## Response `200`

Invitation has been sent

- object
  - `message` string

## Other responses

- `400` — Error occurred while sending the invitation
- `401` — Unauthorized

---

[API](https://skmtc.net/supabase/apis/dalil-oauth-resource-api.md) · [All operations](https://skmtc.net/supabase/apis/dalil-oauth-resource-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/supabase/dalil-oauth-resource-api/versions/40a7125e0355/schema)
