Need assistance in retrieving the Server description using Toast API calls.
Hi Team,
One of our client requirements is to display the server information.
In the response of the OrderBulk API calls, we are receiving the Server GUID. Please refer to the screenshot below for reference.
However, we need to display the server description. We attempted to retrieve this using the "Get Employee" API call, but encountered the following error:
"You are not permitted to access this resource."
Could you please advise on how we can retrieve the server description, or provide the necessary permissions to access this resource?
OrdersBulk API Calls and responses :

Toast website server data

Here is the API call we tried to retrieve the server:
Url: http://ws-api.toasttab.com/labor/v1/employees

Thanks & Regards
Navajeevan Reddy
-
Hey Jeevan!
Apologies that we did not see this question here - I believe we addressed this on the ticket you generated via our support form this past week (which was the best place to reach out for direct support such as this, as it involves sensitive info that should not be posted here).
I wanted to include your resolution for posterity for other users who may have similar issues with read-only endpoints.
Obtaining a 403 error typically indicates missing scopes for a particular endpoint: in this case, your credentials needed the additional scope,
labor.employees:read(defined in our scopes doc), in order to access ~/labor/v1/employees.
Not all scopes described in our docs are available to all users, so any request to add additional scopes should be made through the support form.0
Please sign in to leave a comment.
Comments
1 comment