createUser

@POST(value = "users")
abstract suspend fun createUser(@Body userRequestDto: UserRequestDto): Response<RegisterUserResponseDto>

Register a user This API call allows you to register a new user. To call this endpoint, you must use a client-token. You can not call this endpoint without it. Responses:

  • 200: Success. The new user was successfully registered.

  • 400: Bad Request. This will occur if you omit a required parameter, or if you provide an invalid value for a required parameter.

  • 401: Unauthorized. This will occur if you do not supply an access-token to this endpoint, or if you provide an expired or invalid access token.

Return

RegisterUserResponseDto

Parameters

userRequestDto

Register a user