--- title: Associate query parameters with a resource description: Associate scripted REST API query parameters with a resource. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-api-explorer/AssocQueryParmResource.html release: australia product: REST API Explorer classification: rest-api-explorer topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Create a scripted REST API, Scripted REST APIs, REST APIs, Web services, API implementation, API implementation and reference] --- # Associate query parameters with a resource Associate scripted REST API query parameters with a resource. ## Before you begin Role required: web\_service\_admin ## About this task The following procedure describes the process for manually associating a query parameter with a resource. For details about automatically generating query parameters for requests in non-production instances, see [Automatically generate API request definitions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/autogenerate-api-request-definitions.md). ## Procedure 1. Navigate to **All** > **System Web Services** > **Scripted REST APIs**. 2. Select a scripted REST API record. 3. In the **Resources** related list, select **New** 4. In the **API query parameter**, select or enter the query parameter to associate with the resource. 5. In the **API resource**, select or enter the scripted REST API resource to associate with the query parameter. 6. Select **Submit**. ## What to do next After associating the parameters with a scripted REST resource, configure any required ACLs for the API or endpoint. For details, see [Configure a scripted REST API resource to require an ACL](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/t_WbSvcOpRqACL.md). **Parent Topic:**[Create a scripted REST API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/t_CreateAScriptedRESTService.md)