fetchQuery
Fetch data from Airstack by calling queries to the Airstack API. If you need any pagination, use fetchQueryWithPagination instead.
Last updated
Was this helpful?
Fetch data from Airstack by calling queries to the Airstack API. If you need any pagination, use fetchQueryWithPagination instead.
Last updated
Was this helpful?
Param | Type | Default Value | Description |
---|---|---|---|
Param | Type | Default Value | Description |
---|---|---|---|
query
string
Airstack GraphQL query
variables
Record<string, any>
GraphQL query variables
data
any?
Response data from GraphQL query
if API call succeeds.
error
any?
Error logs from GraphQL query if API call failed.