Get global variables

View as Markdown
Gets a workspace's global [variables](https://learning.postman.com/docs/sending-requests/variables/#variable-scopes). Global variables enable you to access data between collections, requests, scripts, and environments and are available throughout a workspace.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

workspaceIdstringRequired
The workspace's ID.

Response

Successful Response
valueslist of objects
A list of the workspace's global variables.

Errors

500
Internal Server Error