---
title: How do I use variables in the API Management (Query Params, Headers, Body)?
description: "In **Settings → API Management**, in Query Params, Headers, and Body fields, use the **variable picker** to insert `{{local:Name}}`, `{{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…"
url: "https://www.smsgatewaycenter.com/blog/kb/how-do-i-use-variables-in-the-api-management-query-params-headers-body/"
updated: "2026-04-05"
category: WhatsApp Business API / Workflow Builder
---

# How do I use variables in the API Management (Query Params, Headers, Body)?

In **Settings → API Management**, in Query Params, Headers, and Body fields, use the **variable picker** to insert `{{local:Name}}`, `{{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 **Test API** after setting variables.

### More Related Articles

- [What are the best practices for building workflows?](https://www.smsgatewaycenter.com/blog/kb/what-are-the-best-practices-for-building-workflows/)
- [How do I debug a workflow that behaves unexpectedly?](https://www.smsgatewaycenter.com/blog/kb/how-do-i-debug-a-workflow-that-behaves-unexpectedly/)
- [Can I use the same workflow for multiple WABAs or agents?](https://www.smsgatewaycenter.com/blog/kb/can-i-use-the-same-workflow-for-multiple-wabas-or-agents/)

Found this useful?[Add as Preferred Source on Google](https://www.google.com/preferences/source?q=smsgatewaycenter.com)
