Users Support

Add a user to the workspace

Add a user into the specified workspace

post/support/workspaces/{workspace_id}/users

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/support/workspaces/{workspace_id}/users
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Id of the workspace to work with

Example:4

Request body

first_namestring nullable

First name of the user

last_namestring nullable

Last name of the user

emailstring email required

Email of the customer

role'workspace_member' | 'workspace_admin' | 'workspace_owner' | 'workspace_guest' required

Role of the user

Example request

{
  "first_name": "John",
  "last_name": "Smith",
  "email": "johnsmith@gmail.com",
  "role": "workspace_admin"
}

Response

Document created, URL follows

idinteger required

ID of the user

Changes

No recorded changes to this operation across all 3 revisions of this API.