Auth API

Register

Estimated reading: 1 minute

POST: api/v{version}/Auth/register

Version: 1

Request Body:

				
					{
  "displayName": "string",
  "email": "string",
  "password": "string",
  "passwordConfirm": "string",
  "image": "string",
  "domain": "string",
  "invitationToken": "string",
  "companyName": "string",
  "defaultCulture": "string",
  "demoType": 1
}
				
			

Responses:

				
					200 SUCCESS
{
  "type": "string",
  "token": "string",
  "expireIn": 0,
  "role": 0
}
				
			
				
					400 BAD REQUEST
{
  "message": "string",
  "exceptionType": 1,
  "version": "string"
}
				
			
  • If there is no authenticated bearer token during registration, the guest bearer token should be used.
  • If user registration is successful, authenticated bearer token is also returned.
  • If the user is requested to register with a certain company, it can be ensured that the company is registered by using the InvitationToken belonging to that company.
  • If the user does not have a company and the company will be created with this user, if the “companyName” part is filled, the company belonging to this user will be created.
Share this Doc

Register

Or copy link

CONTENTS

How competitions based on test results work?

This provides clarity on how our platform conducts competitions based on test an...

How can I use MotivacraftTV?

We will show you how to use MotivacraftTV step by step.We will show you how to u...

MotivacraftTV

Articles

Videos

Can I change the information of an active user?

To edit a user you created, you must first click on the “Users” tab on the l...

How do I deactivate or delete a user?

In order to update the status of the user you created, you must click on the ...

How can I create a new user?

There are three different ways to add users in Motivacraft. You can create a use...

Users

How do I disable or delete a created competition?

In order to update the status of the competition you created, you must click on ...

How can I see the ranking of competing users?

To view the success ranking of users who have completed the competitions you hav...

How do I edit a competition I created?

To organize a competition you have created, you must first click on the “C...

Chat Icon Close Icon