User Tools

Site Tools


version_3:post_user_new

Creating a new user

A user account can be created by sending a request with the user’s name and password and optionally with an email address.

Authentication required

No

Response

JSON

Method

POST

Resource URL

Parameters

The sent JSON object data should contain the following parameters:

name

The username of the account to be created

pass

The password for the new user

email

Optionally, the email address of the new user

Example

Request

data={
	"name":"alex",
	"pass":"secret",
	"email":"alex@gmail.com"
}

Response

{
   "APIVersion":3,
   "result":1
}

In case of an error, a different response is sent. Please take a look at Error Responses.

version_3/post_user_new.txt · Last modified: 01.05.2016 22:57 (external edit)