POST

Create User

Creates a new "Firm User".

Important

Calls to this method must include the cookie .LawPanel.AuthCookie in order to identify you at user level. For more details about authentication please check this link. To obtain the cookie you can use the method Login.

Request URL

Request headers

string

User authentication cookie. Read more about how to you get it from here.

string
Subscription key which provides access to this API.

Request body

Payload must contain information about the user to be created.

  • string Required country_id: The country ID. To get details of fee item please check this link.
  • string Required email: The email of the user. This email is used to authentication.
  • string Required user_name: The user name use email.
  • string Required first_name: The first name of the user.
  • string Required last_name: The last name of the user.
  • string Required language_id: The language used by the user. To get details of currencies please check this link.
  • string Required password: We recommend you use a strong password for your security.
  • numeric Required phone_number: The phone number of the user.
  • bool Optional reset_password: If the reset passord is true, the user will be forced to change their password the first time upon login. By default is false.
  • bool Optional two_factor_authenticator: If the two factor authenticatos is true, the user will be forced to use this method of authentication by email or SMS. By default is false.
  • string Optional user_type_id: The user type ID. To get details of user types please check this link.
  • array Optional claims: The claims ID for this fee item. There are differents user restrictions in Ip records / Trademarks view (portfolio). If the list is empty it will default to administrator role. To get details of claims please check this link.

Loading...
                  {
  "type": "object",
  "properties": {
    "country_id": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "first_name": {
      "type": "string"
    },
    "language_id": {
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "password": {
      "type": "string"
    },
    "phone_number": {
      "type": "string"
    },
    "reset_password": {
      "type": "string"
    },
    "two_factor_authenticator": {
      "type": "string"
    },
    "user_name": {
      "type": "string"
    },
    "user_role": {
      "type": "string"
    },
    "user_type_id": {
      "type": "string"
    }
  },
  "example": {
    "country_id": "3fa600af-5237-477d-badb-a67300008be3",
    "email": "albert@genius.com",
    "user_name": "albert@genius.com",
    "first_name": "Albert",
    "last_name": "Einstein",
    "language_id": "8246c1d0-b008-4320-8b1d-a6720147de22",
    "password": "GUj/j8<#0Gxa,ut>",
    "phone_number": "+543875123953",
    "reset_password": "False",
    "two_factor_authenticator": "False",
    "user_type_id": "",
    "claims": []
  }
}
                  
              

Response 201

This code is returned when the user was created successfully.

Loading...
* See getting started for more information on how to use this API. You can also check the API change history.