Create a third-pary account

POST /api/2.0/people/thirdparty/signup

Request

Creates a third-party account with the parameters specified in the request.

Headers

Content-Typeenum of string

Can be one of: application/json, application/*+json, text/json.

Body

Request parameters for creating a third-party account

serializedProfilestring

Third-party profile in the serialized format

employeeTypeone of
.enum of string

[All - All, RoomAdmin - Room admin, Guest - Guest, DocSpaceAdmin - DocSpace admin, User - User]

Can be one of: All, RoomAdmin, Guest, DocSpaceAdmin, User.

.enum of integer

[0 - All, 1 - Room admin, 2 - Guest, 3 - DocSpace admin, 4 - User]

Can be one of: 0, 1, 2, 3, 4.

firstNamestring

First name

lastNamestring

Last name

emailstringformat: email

Email address

passwordHashstring

Password hash

keystring

Link key

culturestring

Culture

Examples

POST /api/2.0/people/thirdparty/signup HTTP/1.1
Content-Length: 195
Content-Type: application/json
Host: example.com

{
  "serializedProfile": "some text",
  "firstName": "Laron",
  "lastName": "Beer",
  "email": "Ethyl44@yahoo.com",
  "passwordHash": "some text",
  "key": "some text",
  "culture": "some text"
}
curl --request POST \
  --url https://example.com/api/2.0/people/thirdparty/signup \
  --header 'Content-Type: application/json' \
  --data '{
  "serializedProfile": "some text",
  "firstName": "Laron",
  "lastName": "Beer",
  "email": "Ethyl44@yahoo.com",
  "passwordHash": "some text",
  "key": "some text",
  "culture": "some text"
}'

Responses

200

Ok

400

Incorrect email

403

The invitation link is invalid or its validity has expired

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).