NowGraphQLService interface - Android
concept australia Updated Sep 10, 2026 1 min read NowGQLServiceAndroidInterface.md
The NowGraphQLService interface provides functions that allow you to make GraphQL requests to your ServiceNow through its GraphQL API.
Note: The GraphQL API works for guest users in the base ServiceNow system.
For more details on the ServiceNow GraphQL API, see Query record data using the GraphQL API framework.
| Name | Type | Description |
|---|---|---|
| configuration | NowServiceConfiguration | Configuration to associate with the service. |
Parent Topic:Mobile SDK - Android
NowGraphQLService - graphQLRequest(String query)
Passes the specified GraphQL query to the associated ServiceNow instance and returns the query results.
| Name | Type | Description |
|---|---|---|
| query | String | GraphQL query to pass. |
| Type | Description |
|---|---|
| Call<Byte Array> | Query response. |
JavaScript
fun makeGraphQLRequest(query: String) { val call = graphQLService.graphQLRequest(query) call.enqueue( { response -> handleResponse(response) }, { nowDataError -> handleError(nowDataError) } )}51 lines · 2.5 KB
---
title: NowGraphQLService interface - Android
description: The NowGraphQLService interface provides functions that allow you to make GraphQL requests to your ServiceNow through its GraphQL API.Passes the specified GraphQL query to the associated ServiceNow instance and returns the query results.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/cllent-mobile-api-reference/NowGQLServiceAndroidInterface.html
release: australia
product: Cllent Mobile API Reference
classification: cllent-mobile-api-reference
topic_type: concept
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Mobile SDK - Android, Mobile SDK API reference, API reference, API implementation and reference]
---
# NowGraphQLService interface- Android
The NowGraphQLService interface provides functions that allow you to make GraphQL requests to your ServiceNow through its GraphQL API.
**Note:** The GraphQL API works for guest users in the base ServiceNow system.
For more details on the ServiceNow GraphQL API, see [Query record data using the GraphQL API framework](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/scripted-graph-ql.md).
|Name|Type|Description|
|----|----|-----------|
|configuration|[NowServiceConfiguration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/NowServiceConfigurationAndroidAPI.md)|Configuration to associate with the service.|
**Parent Topic:**[Mobile SDK - Android](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/MobileSDKAndroidAPI.md)
## NowGraphQLService - graphQLRequest\(String query\)
Passes the specified GraphQL query to the associated ServiceNow instance and returns the query results.
|Name|Type|Description|
|----|----|-----------|
|query|String|GraphQL query to pass.|
|Type|Description|
|----|-----------|
|[Call](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/CallAndroidInterface.md)<[Byte Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/)>|Query response.|
```
fun makeGraphQLRequest(query: String) {
val call = graphQLService.graphQLRequest(query)
call.enqueue(
{ response -> handleResponse(response) },
{ nowDataError -> handleError(nowDataError) }
)
}
```
| title | NowGraphQLService interface - Android |
| description | The NowGraphQLService interface provides functions that allow you to make GraphQL requests to your ServiceNow through its GraphQL API.Passes the specified GraphQL query to the associated ServiceNow instance and returns the query results. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/api-reference/cllent-mobile-api-reference/NowGQLServiceAndroidInterface.html |
| release | australia |
| product | Cllent Mobile API Reference |
| classification | cllent-mobile-api-reference |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Mobile SDK - AndroidMobile SDK API referenceAPI referenceAPI implementation and reference |