---
title: "Invite Users"
method: POST
path: "/organizations/invite-users"
---

# Invite Users

`POST /organizations/invite-users`

## Request

- Base URL: `https://api.traversal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.traversal.com/organizations/invite-users`
- Auth: none declared

Invite one or more users to join the organization.

## Request body

- InviteUserRequest: Request to invite one or more users to join the organization.
  - `emails` string[], required
  - `expires_at` string, date-time, nullable
  - `role` 'org_admin' | 'org_member' | 'org_setup_user': Organization-level roles for customer users. These roles require an organization_id and only apply within that organization. Users can have different roles in different organizations. Attributes: ADMIN: Full access within the organization. Can manage users, configure integrations, view/edit all sessions, manage billing. MEMBER: Standard user access within the organization. Can create and view their own sessions, view team sessions, use integrations. SETUP_USER: Limited setup access. Can configure integrations, but cannot view sessions or start investigations.

## Response `200`

Successful Response

- InviteUserResponse: Response after processing a bulk user invite.
  - `results` InviteUserResult[], required
    - `email` string, required
    - `action` 'granted' | 'no_change' | 'invite_sent' | 'error', required
    - `message` string, required
    - `invite_id` string, nullable

## Other responses

- `422`: Validation Error

---

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