---
title: "Invite to Workspace"
method: POST
path: "/account/workspaces/{workspace_id}/invite"
tags: ["Workspaces"]
---

# Invite to Workspace

`POST /account/workspaces/{workspace_id}/invite`

## Request

- Base URL: `https://api.rebrandly.com/v1`
- URL: `https://api.rebrandly.com/v1/account/workspaces/{workspace_id}/invite`
- Auth: API key in header `apikey`

Send invitations to join a workspace.

## Path parameters

- `workspace_id` string, required

## Headers

- `apikey` string, required

## Request body

- object
  - `emails` string[], required
  - `role` 'admin' | 'user' | 'guest' | 'viewer'

## Response `200`

Invitations sent

- object

## Other responses

- `403`: Workspace is revoked or locked

---

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