Skip to main content

Create new user (administrators only)

POST 

/truckers/users/

Allows an administrator to create a new carrier user in the system.

Requirements:

  • The user making the request must have an administrator role
  • Valid and unique email in the system
  • Name is mandatory

Process:

  1. The user is created with the provided data
  2. A random password is generated if not specified
  3. An email with the credentials is sent to the new user

Request Example:

{
email: nuevo@transportista.com,
name: Carlos,
lastname: Ruiz,
phone: +34666555444
}

Request

Responses

User created successfully. Returns the data of the new user including unique ID.