Variables
Learn how you can add variables to an Airstack GraphQL query to provide dynamic inputs into the API.
Last updated
Was this helpful?
Learn how you can add variables to an Airstack GraphQL query to provide dynamic inputs into the API.
Last updated
Was this helpful?
You can add variables to an GraphQL query to provide dynamic inputs.
To do so, simply define the variable with $
prefix and specify the correct typing.
As an example, below is shown on how a query looks like after and before adding variable to an query:
If you have any questions or need help regarding adding variables into your Airstack query, please join our Airstack's group.
API Overview
API References