TA V2 DEV
  1. Authentication
TA V2 DEV
  • Health
    • /health/
      GET
  • Authentication
    • Register a new user
      POST
    • Login user
      POST
    • /auth/registration
      POST
    • Activate user account
      POST
    • Refresh access token
      POST
    • Change password
      POST
    • Get current user
      GET
  • Users
    • List all users
      GET
    • Get user by ID
      GET
    • Update user
      PATCH
    • Delete user (soft delete)
      DELETE
    • Get users by organization
      GET
    • Restore deleted user
      POST
    • Delete multiple users
      POST
  • Organizations
    • List all organizations
      GET
    • Search organizations
      GET
    • Get organization by ID
      GET
    • Update organization
      PATCH
    • Delete organization (soft delete with cascade)
      DELETE
    • Get organization statistics
      GET
    • Restore deleted organization
      POST
  • getHealth
    GET
  • getIndex
    GET
  1. Authentication

/auth/registration

POST
/auth/registration
Maintainer:Not configured
Register a new user

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "regEntity": "string",
    "regEmail": "user@example.com",
    "languageId": 0,
    "password": "string",
    "firstName": "string",
    "lastName": "string",
    "areaId": 0
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://68.219.186.115:3003/auth/registration' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "regEntity": "string",
    "regEmail": "user@example.com",
    "languageId": 0,
    "password": "string",
    "firstName": "string",
    "lastName": "string",
    "areaId": 0
}'

Responses

🟢201Created
application/json
Default Response
Body

Example
{
    "userId": "string",
    "registrationId": "string",
    "unitId": "string",
    "personId": "string"
}
Modified at 2025-02-28 08:48:50
Previous
Login user
Next
Activate user account
Built with