{"id":2281,"date":"2026-04-06T02:25:20","date_gmt":"2026-04-05T20:55:20","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=2281"},"modified":"2026-04-06T02:25:20","modified_gmt":"2026-04-05T20:55:20","password":"","slug":"how-do-i-use-variables-in-the-api-management-query-params-headers-body","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/how-do-i-use-variables-in-the-api-management-query-params-headers-body\/","title":{"rendered":"How do I use variables in the API Management (Query Params, Headers, Body)?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In&nbsp;<strong>Settings \u2192 API Management<\/strong>, in Query Params, Headers, and Body fields, use the&nbsp;<strong>variable picker<\/strong>&nbsp;to insert&nbsp;<code>{{local:Name}}<\/code>,&nbsp;<code>{{global:Name}}<\/code>, etc. Variables are loaded from Variable Management (or from workflowData.variableConfig when the modal has not been opened yet). The picker is constrained to the viewport and shows categories (Local, Global, Constant, System, Data Profile). Test the API with&nbsp;<strong>Test API<\/strong>&nbsp;after setting variables.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In&nbsp;Settings \u2192 API Management, in Query Params, Headers, and Body fields, use the&nbsp;variable picker&nbsp;to insert&nbsp;{{local:Name}},&nbsp;{{global:Name}}, etc. Variables are loaded from Variable Management (or from workflowData.variableConfig when the modal has not been opened yet). The picker is constrained to the viewport and shows categories (Local, Global, Constant, System, Data Profile). Test the API with&nbsp;Test API&nbsp;after setting [&hellip;]<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[1964],"doc_tag":[],"class_list":["post-2281","docs","type-docs","status-publish","hentry","doc_category-workflow-builder"],"year_month":"2026-07","word_count":72,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.smsgatewaycenter.com\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"Workflow Builder","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/workflow-builder\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/2281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/comments?post=2281"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/2281\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=2281"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=2281"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=2281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}