POST

Login

Identify you at user level and returns the authentication cookie .Lawpanel.AuthCookie that you must include in subsequent requests.

This cookie could be used in both: API and Web Site to identify the current user.

This cookie plus the subscription-key identifies you at both levels: Firm and User.

Request URL

Request headers

string
Subscription key which provides access to this API.

Request body

JSON object with the user access data: email/username and password.

Loading...
                  {
  "type": "object",
  "properties": {
    "email": {
      "type": "string"
    },
    "password": {
      "type": "string"
    }
  },
  "example": {
    "email": "test@example.com",
    "password": "hunter2"
  }
}
                  
              

Response 204

You will receive a 204 response if the authentication was successfully. On header "Set-Cookie" you'll get the .LawPanel.AuthCookie. Response will be very similar to this one:

Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Set-Cookie:
.LawPanel.AuthCookie=S2pbhI1h-2KeCrllD5PNyo6fP-_pUlvtdU7dYCtKYVX8HiHn7ZcOxuWrdxyzsRFg4gxVycxw3Nh--TxRE6WeyLx_6DkMTBnn21RZMPQjM8hhPli-eBftOPhyKMW_uA9qkLv94sYoN8rAkbrl2x6jN5GN0C5LuXpt1A48PW7h2ZHlKQs-vhrg7t4pj3g0XHVpmuUVytLnZD5bH4iAPuts_LRfLk1ryyf5tcYluRPz-Fy02tBiygQmZ5rqTVNfu1qHwpgX5EOxMoDCA85AsGF3U8BTwMzC2mAXbFYjfVigXHdu5AmhgDGgBunv_MsfvxnFPD-mthNloYCmYq2qqwpf2fRYkoyL2J5jyAtjiCocMkl4NuXKWtUF3JE2GWMNv_gk-sW8svtn7y2xdZPO; domain=lawpanel.com; path=/; secure; HttpOnly
Access-Control-Max-Age: 86400
Access-Control-Allow-Headers: DNT
Access-Control-Allow-Headers: Origin
Access-Control-Allow-Headers: Referer
Access-Control-Allow-Headers: User-Agent
API-Version: 1
Access-Control-Expose-Headers: API-Version, Skipped, Total, Taken, Order, FileName
X-XSS-Protection: 1; mode=block
X-Frame-Options: Deny
Referrer-Policy: strict-origin
Date: Wed, 11 Mar 2020 13:31:19 GMT

Please remember to include the .LawPanel.AuthCookie with your subsequent requests. This cookie identifies you at a user level. The subscription key identifies you at a Firm level.

Response 400

You'll get a 400 ( Bad Request ) if authentication fails. Check your username/password values.

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