How to get all variables attached to the collection?

Hello Everyone,
I want to access all the variables within the collection using Postman API.
Is it possible to that?
Thank You

Hello @thefierycoder :wave:

Yes you can do that :partying_face:

Incase you don’t have Postman API, kindly fork from here.

Currently we can get the Collection and Environment related details. For getting the global variables the feature request is in-progress in GH.

Once you fork the Postman API’s, you have Collection folder.

image

This will return all the collection details, from here you can pick the UID,

And that goes into the next request, “Single Collection”

Here you have the section “variable” which will lists all the collection variables.

From here on, you can tweak them based on your needs :blush:

Let us know if you face issue here!!

2 Likes

Hey @thefierycoder and @bpricilla :wave:

You can now get collection uid from within the app!! :tada:
collection_uid

2 Likes

Thanks @bpricilla @taehoshino for your help.:pray:

2 Likes