Back to JESS API

Get JESS Account Info


Use GET /account to retrieve the linked JESS account's information.


Synopsis

Return object

A successful GET /account transaction returns an object containing the information of the linked JESS account.

Example using curl://

Send the GET /account command using curl:

curl -b cookies https://api.ensims.com/jess_web/api/account

On success, the user's JESS account info will be returned in a JSON object. If the existing JWT is invalid, an HTTP 401 Unauthorized code will be returned.

Example using Python Requests

Make sure Requests is correctly installed in your Python environment, and run the following lines:

import requests

# Existing cookies are expected to be stored in the variable 'cookies'
r = requests.get('https://api.ensims.com/jess_web/api/account', cookies=cookies)

# Show returned object  
r.json()