get https://example.com/
Current Session
curl -u [[app:api-token]]: https://suite.staffjoy.com/api/v2/
This endpoint shows information about the current session and the accounts that are able to be accessed.
The access
parameter denotes the different permissions that the current user has access to. It also provides the necessary IDs to access the relevant data. For example, each worker option includes organization_id
, location_id
, role_id
, and user_id
. These IDs can then be used to complete the route for the Worker API:
organizations/<organization_id>/locations/<location_id>/roles/<role_id>/users/<user_id>/