Skip to main content
POST
/
v1
/
users
/
{id}
/
activation
Activate user
curl --request POST \
  --url https://api.example.com/v1/users/{id}/activation \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "1234567890",
  "orgHash": "123",
  "permissionId": "123",
  "name": "John Doe",
  "password": "password",
  "timezone": "America/New_York"
}
'
{
  "tokenId": "<string>",
  "email": "[email protected]",
  "name": "<string>",
  "code": "<string>"
}
This is the link the user goes to when receiving an email invite. Id is the single use generated code for activation. He is prompted with some personal info at the front-end, such as phone number and password. The timezone is in the TZ format

Path Parameters

id
string
required

Query Parameters

walletAddress
string

Body

application/json
orgHash
string
required
permissionId
string
required
phoneNumber
string
name
string
password
string
timezone
string

Response

201 - application/json

ok

tokenId
string
required
email
string<email>
name
string
code
string