Simple API example

See If You’re Logged in Already

Get ‘whoami’ and privileges (which organization and sites I have access to)

GET /api/v1/self

For my test account, it returned:

This is because I ran it in a new tab on a browser which I’m currently logged in to.