Product
Pricing
Resources
Docs
Product
Pricing
Resources
Docs

Authentication

 

Getting an authentication token for the Uleska API is a bit clunky since our last release, but will be made much easier in the next release (we'll put it in the UI).

To get an auth token:

  1. Log into the Uleska UI

  2. Press F12 to view your console session and browse to any page.

  3. On the network tab, click on any of the requests and view the headers. Extract the cookie header and copy it.

  4. Using Postman, curl, or similar, make a request to https://uleska-live-one.uleska.com/SecureDesigner/api/v1/token making sure your extracted cookie is included in the request.

  5. In the response to that request, view the headers and you will see an 'Authorization' header with a value starting with "Bearer U.xxxxxxx"

  6. Extract the GUID starting with "U.xxx" and this will be your authentication token.

This auth token can then be passed to the Uleska CLI, or to other API requests using Postman, curl, etc. Note that this auth token is to be added to the Authorization header without any 'Bearer' or other identifier, e.g.

 

Authorization: U.6f0e2d81-XXXX-XXXX-XXXX-XXXXXXXXXXXX.XXXXXXXXXX
 
Plain Text