Process data and script workflows using Postman JavaScript objects The Postman JavaScript API functionality enables you to programmatically access and alter request and response data and variables using the pm object. You can also dynamically alter execution order to build request workflows for the Collection Runner. Using variables in scripts You can access and manipulate variables at each scope