Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Get global variables

GET {{baseUrl}}/workspaces/{{workspaceId}}/global-variables

Gets a workspace's global [variables]

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "values": [ { "value": "PMAK-XXXX", "key": "api-key", "enabled": true, "type": "secret" }, { "value": "12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2", "key": "collection_uid", "enabled": true, "type": "default" } ] }



Curl
curl -X GET 'https://api.getpostman.com/workspaces/workspaceId/global-variables'

ENDPOINTS