---
title: "Invite one or more users to join your Gremlin company"
method: POST
path: "/companies/{identifier}/invites"
tags: ["companies"]
---

# Invite one or more users to join your Gremlin company

`POST /companies/{identifier}/invites`

Requires the privilege [`COMPANY_USERS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Path parameters

- `identifier` string, required

## Request body

- InviteUserRequest[]
  - `identifier` string, required — The unique identifier for the user (user's email)
  - `first_name` string — The user's first name
  - `last_name` string — The user's last name
  - `source_detail` 'Onboarding'
  - `user_principal` GremlinUserPrincipal
    - `key` Key
      - `hashKey` object
      - `sortKey` object
    - `provider` string
    - `email` string
    - `firstName` string
    - `lastName` string

## Response `default`

default response

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege: COMPANY_USERS_WRITE

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/revisions/70fe938a0b35/schema)
