---
title: "Invite the user"
method: POST
path: "/cm/v1/auth/users/invite"
tags: ["User"]
---

# Invite the user

`POST /cm/v1/auth/users/invite`

Invite the user to an API callers’ workplace.
The user who has WORKPLACE_OWNER or AD_ACCOUNT_OWNER or AD_ACCOUNT_MEMBER Roles can invite users to a workplace.

## Request body

- MessagesInviteUserRequest
  - `email` string, required — The user email.
  - `name` string, required — The user name.

## Response `200`

A successful response.

- MessagesInviteUserResponse
  - `user` DspUser — User represents a single user.
    - `email` string — Email of User. Immutable.
    - `id` string — ID of User. Immutable.
    - `name` string — First name of the User.
    - `last_name` string — Last name of the User.
    - `company_name` string — Company name of the User.
    - `terms_agreed` boolean — Whether the user agreed to terms and privacy policy.
    - `marketing_agreed` boolean — Whether the user agreed to receive marketing purpose informations.
    - `locale` 'UNKNOWN_LOCALE' | 'EN_US' | 'KO_KR' | 'JA_JP' — Locale enumerates the supported user locale values. - EN_US: English (United States) - KO_KR: Korean (South Korea) - JA_JP: Japanese (Japan)
    - `created_at` string, date-time — The time when a user was created.
    - `updated_at` string, date-time — The time when a user was updated.

## Other responses

- `default` — Error. Detailed cause can be found in the `details` field.

---

[API](https://skmtc.net/moloco/apis/moloco-ads-campaign-management-api.md) · [All operations](https://skmtc.net/moloco/apis/moloco-ads-campaign-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moloco/moloco-ads-campaign-management-api/revisions/5c85d0910ac0/schema)
