POST User

POST User

The POST User API allows you to create a new user.

On the Cloud, this API is available via SSL-secured HTTPS connection using the REST GET verb.
The format query string parameter controls the desired response format.  Specify either XML or JSON.

/api/v2/user?format=xml/json


Endpoints & API Explorer

NodeAPI EndpointAPI Explorer
USapi/v2/userModel Description/Schema & Parameters


Parameters

The POST verb on the User API allows you to create a new user on our platform. The required and optional parameters for a POST call to the User API are outlined below: 

NameTypeDescriptionRequired
TypeStringStandard: Best for light to medium usage. Can capture up to 1,500 Form entries per month. No Tasks or Docs access. Premium: Unlocks all platform features, including Task and Docs, with unlimited monthly Form entries. Lite: Legacy option, discontinued. Full: Legacy option for grandfathered plans only.
FirstNameStringThe firstname of the user being added.
LastNameStringThe lastname of the user being added.
EmailStringThe email address of the user to be added.
PasswordStringThe password of the user to be added.
ExternalIdStringThe external ID of the user to be added.
TimeZoneStringThe name of Timezone, e.g., CAT, EST, etc…
CountryStringThe name of the country of the user being added.
WebsiteRoleString[‘ReadOnly’, ‘User’, ‘Admin’, ‘EnterpriseAdmin’, ‘VendorAdmin’, ‘SuperAdmin’]
FoldersArrayA list of folders that the user is to be added to.
GroupsArrayA list of groups the user is to be added to.
DoNotEmailBooleanA flag to email the new user or not.
ColorCodeStringAssign this user a unique HTML color code. This will be used in various parts of the platform where users are identified by their color.
MetadataArrayAdditional information about this user specified as key/value pairs.
UseNamesBooleanUse Names instead of GUID identifier for any Groups and Folders values
UseExternalIdsBooleanUse External ID instead of GUID identifier for any Groups and Folders values.
LoginIDStringThe username or other such non-email identifier as defined in your external identity provider when Email-less Login is enabled.
By default is user email.
CompanyIdIntegerYour unique Company Id found on the Organisation Setup page of the secure website.
IntegrationKeyStringYour unique Integration Key found on the Organisation Setup page of the secure website.

 


Example

Given that the API is REST-based, you can access the API directly via your web browser to test it using a REST plugin like the Postman plugin for Google Chrome.

Request URL

https://eforms.mobileform.net/api/v2/user

 Below is an unpopulated code block of what a typical POST request JSON body to the User API might look like.

Request Body

{
"Type": "",
"FirstName": "",
"LastName": "",
"Email": "",
"Password": "",
"ExternalId": "",
"TimeZone": "",
"Country": "",
"WebsiteRole": "",
"Folders": [
""
],
"Groups": [
""
],
"DoNotEmail": false,
"ColorCode": "",
"Metadata": [
{
"Key": "",
"Val": "",
"Index": 0
}
],
"UseNames": false,
"UseExternalIds": false,
"CompanyId": 0,
"IntegrationKey": ""
}
    • Related Articles

    • POST Usergroup

      This API allows you to create a new user group. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST POST verb. The format query string parameter controls the desired response format. Specify either XML or JSON. ...
    • POST Folder

      The POST Folder API creates a new folder in the company’s account. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST POST verb. The format query string parameter controls the desired response format. Specify either ...
    • POST Task

      The Tasks API allows you to retrieve, create and delete Tasks on the platform. This enables scenarios where jobs created/maintained in other systems (e.g. SAP, Salesforce) can be delivered through to your app users automatically. Any new Task created ...
    • POST Task

      This request method allows you to create a new task and assign it to a specified user(s). On the Cloud, this API is available via SSL-secured HTTPS connection using the REST POST verb. The format query string parameter controls the desired response ...
    • POST Push API

      This request method allows you to send a push notification to a specified user. On the Cloud, this API is available via SSL-secured HTTPS connection using the REST POST verb. The format query string parameter controls the desired response format. ...