Skip to main content
POST
/
api2
/
v3
/
users
Create user
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v3/users \
  --header 'Content-Type: application/json' \
  --data '{
  "userName": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "password": "<string>",
  "role": "SYS_ADMIN",
  "timezone": "<string>",
  "receiveNewsletter": true,
  "note": "<string>",
  "active": true
}'
{
  "uid": "<string>",
  "userName": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "dateCreated": "2023-11-07T05:31:56Z",
  "dateDeleted": "2023-11-07T05:31:56Z",
  "createdBy": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  },
  "role": "ADMIN",
  "assignableRoles": [
    "<string>"
  ],
  "timezone": "<string>",
  "note": "<string>",
  "receiveNewsletter": true,
  "active": true,
  "pendingEmailChange": true,
  "twoFactorAuthEnabled": true,
  "credentialsReadonly": true
}

Query Parameters

sendInvitation
boolean
default:false

Body

application/json
userName
string
required
Maximum length: 255
firstName
string
required
Maximum length: 255
lastName
string
required
Maximum length: 255
email
string
required
Maximum length: 255
role
enum<string>
required

Enum: "ADMIN", "PROJECT_MANAGER", "LINGUIST", "GUEST", "SUBMITTER", "PORTAL_MEMBER"

Available options:
SYS_ADMIN,
SYS_ADMIN_READ,
ADMIN,
PROJECT_MANAGER,
LINGUIST,
GUEST,
SUBMITTER,
PORTAL_MEMBER
timezone
string
required
Maximum length: 255
password
string

Will be ignored if sendInvitation parameter is set to true

Maximum length: 255
receiveNewsletter
boolean

Default: true

note
string
Maximum length: 4096
active
boolean

Default: true

Response

Created

User with all belonging objects

uid
string
required
Maximum length: 255
userName
string
required
Maximum length: 255
firstName
string
required
Maximum length: 255
lastName
string
required
Maximum length: 255
email
string
required
Maximum length: 255
role
enum<string>
required
Available options:
ADMIN,
PROJECT_MANAGER,
LINGUIST,
GUEST,
SUBMITTER,
PORTAL_MEMBER
timezone
string
required
Maximum length: 255
dateCreated
string<date-time>
dateDeleted
string<date-time>
createdBy
object
assignableRoles
string[]
note
string
Maximum length: 4096
receiveNewsletter
boolean
active
boolean
pendingEmailChange
boolean

If user has email change pending (new email not verified)

twoFactorAuthEnabled
boolean

If user has 2FA key configured

credentialsReadonly
boolean

If user credentials are readonly due to SSO

I