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-Type
enum of string
Can be one of:
application/json
,application/*+json
,text/json
.
Body
Request parameters for creating a third-party account
- serializedProfile
string
Third-party profile in the serialized format
- employeeType
one 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
.
- firstName
string
First name
- lastName
string
Last name
- email
string
email Email address
- passwordHash
string
Password hash
- key
string
Link key
- culture
string
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