User
Register a new user
Returns a Json User. The profile_field option in the request body provides a way to add profile fields to the registration. The key refers to an existing profile field id. Note that profile fields can be set as mandatory registration fields.
post/user/register
Request
- Base URL: https://api.insided.com
- URL: https://api.insided.com/user/register
- Auth: OAuth 2 (client credentials, token URL /oauth2/token)
Request body
Example request
{
"data": {
"email": "user@insided.com",
"username": "user",
"password": "asdTW$sdjksd",
"user_role": [
"roles.registered",
"Option A",
"Option B",
"Other"
],
"profile_field": {
"12": "Smith",
"34": "John"
},
"sso": {
"facebook": "333ABBDDD",
"oauth2": "4545ag63274"
}
}
}Response
Successful response
Example response
{
"user": {
"email": "user@insided.com",
"username": "user",
"sso": {
"facebook": "333ABBDDD",
"oauth2": "4545ag63274"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.