Self Service

Semantex API Self Service

User Confirm Registration

Confirm user's Semantex API account registration

Securityapi_key
Request
Request Body schema: application/json
required
email
required
string

Client email address used for registration

verification-code
required
string

Verification code received on the registered email

Responses
200

The data was received successfully

400

Invalid request

403

The request is forbidden (Please input a valid API key)

post/admin/selfservice/confirm-registration
Request samples
application/json
{
  • "email": "demo@semantex.io",
  • "verification-code": "12345"
}
Response samples
application/json
{
  • "status": {
    },
  • "result": {
    }
}

User Tokens Generation

Generate user's Semantex API tokens

Securityapi_key
Request
Request Body schema: application/json
required
email
required
string

Client email address used for registration

password
required
string

Password for the client account

Responses
200

The data was received successfully

400

Invalid request

403

The request is forbidden (Please input a valid API key)

post/admin/selfservice/tokens-generation
Request samples
application/json
{
  • "email": "demo@semantex.io",
  • "password": "Password123"
}
Response samples
application/json
{
  • "status": {
    },
  • "result": {
    }
}

User Registration

Register user's Semantex API account

Securityapi_key
Request
Request Body schema: application/json
required
email
required
string

Client email address used for registration

password
required
string

Password for the client account

name
required
string

Name for the client account

Responses
200

The data was received successfully

400

Invalid request

403

The request is forbidden (Please input a valid API key)

post/admin/selfservice/registration
Request samples
application/json
{
  • "email": "demo@semantex.io",
  • "password": "Password123",
  • "name": "Semantex-Demo€"
}
Response samples
application/json
{
  • "status": {
    },
  • "result": {
    }
}

User Account Deletion

Delete user's Semantex API account

Securityapi_key
Request
Request Body schema: application/json
required
email
required
string

Client email address used for registration

access-token
required
string

Access token generated from tokens generation utility

Responses
200

The request was posted successfully

400

Invalid request

403

The request is forbidden (Please input a valid API key)

post/admin/selfservice/account-deletion
Request samples
application/json
{
  • "email": "demo@semantex.io",
  • "access-token": "eyJraWQiOiI1eWsybjlRUjJYMVVQanpCcXJVamJwZlwvanVMWjRYWE"
}
Response samples
application/json
{
  • "status": {
    },
  • "result": {
    }
}