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, User - User, DocSpaceAdmin - DocSpace admin, Collaborator - Collaborator]

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

.enum of integer

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

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: 197
Content-Type: application/json
Host: example.com

{
  "serializedProfile": "some text",
  "firstName": "Zelda",
  "lastName": "Zieme",
  "email": "Toby88@hotmail.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": "Zelda",
  "lastName": "Zieme",
  "email": "Toby88@hotmail.com",
  "passwordHash": "some text",
  "key": "some text",
  "culture": "some text"
}'

Responses

200

OK

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).