---
title: "Cli Invite User"
method: POST
path: "/v1/cli/invite"
tags: ["v1-cli"]
---

# Cli Invite User

`POST /v1/cli/invite`

Invite a user to the organization via CLI.

Uses API key auth to determine org_id.
Sends invite email via Supabase.

Body:
    email: Email address to invite
    role: Role to assign (owner/admin/member/viewer), defaults to "member"

Returns:
    success: True if invite sent
    email: The invited email
    role: The role they'll receive

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/tryardent/apis/fastapi.md) · [All operations](https://skmtc.net/tryardent/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryardent/fastapi/revisions/71b66f68e19c/schema)
