Activation

An activation.

Initiate an activation

Initiate a new activation.

Request
Request Body schema: application/json

A JSON object containing activation information.

gender
required
integer

The gender of the user.

  • 1 - male
  • 2 - female
  • 3 - diverse
Enum: 1 2 3
first_name
required
string <= 1000 characters

The first name of the new user.

last_name
required
string <= 1000 characters

The last name of the new user.

email
required
string <email>

The email of the new user.

phone
required
string <phone>

The phone of the new user.

company
required
string

The company of the new user.

Responses
201

Successful operation

422

Unprocessable Content

post/activation/initiate
Request samples
application/json
{
  • "gender": 1,
  • "first_name": "Olli",
  • "last_name": "Kahn",
  • "email": "titan@nordantech.com",
  • "phone": "+491742735627",
  • "company": "Nordantech"
}
Response samples
application/json
{
  • "success": true,
  • "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
  • "data": [ ],
  • "timestamp": 1656341161542
}

Finish an activation

Finish an activation link.

SecurityJWT
Request
path Parameters
activation
required
string

The hash of the activation.

Request Body schema: application/json

A JSON object containing activation information.

One of:
name
required
string

The name of the new hub.

password
required
string

The password of the new user.

password_confirmation
required
string

The confirmation of the password of the new user.

terms
required
boolean

The terms flag of the new user.

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

put/activation/{activation}/finish
Request samples
application/json
{
  • "name": "Nordantech",
  • "password": "WoWar1chUnsicher?",
  • "password_confirmation": "WoWar1chUnsicher?",
  • "terms": true
}
Response samples
application/json
{
  • "success": true,
  • "hash": "9288750be08e90a44eb9403f63955ed48ed335f0",
  • "data": {
    },
  • "timestamp": 1656519348597
}