--- title: Provide input values for your API connector description: Provide input parameters to make a valid API call, test the connection, and receive a sample response. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/security-management/spc-sgc-template-stepper-4.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Creating your own API connector, Use the workspace, Security Posture Control, Security Operations] --- # Provide input values for your API connector Provide input parameters to make a valid API call, test the connection, and receive a sample response. ## Before you begin For all templates, you can select the information icon \(\[Omitted image "circle-info-outline-24.svg"\] Alt text: lower case letter i for more information\) to learn more about each parameter. You can use the API samples provided with each template. After you define your input parameters, you must test your connection. You have the option to get guidance for selecting a template with a Now Assist skill for this step. See [Using generative AI skills](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/using-now-assist-skills-vulnerability-response.md) for more information about the generative AI skill and [Creating an API connector with generative AI](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/using-now-assist-api-connector.md) about using the skill in connector framework. Roles required: - sn\_sec\_spc\_core.developer - sn\_spc\_cxf.admin - required for advanced scripting ## Procedure 1. Fill in the fields. **Note:** If you change any input parameters after testing the connection, you must test the connection again before you can continue on to [Map API response to SPC attributes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/spc-sgc-stepper-5.md).
| Field | Description | Example |
|---|---|---|
| Object list path | Path to the list of assets in the response payload. | An example: `$.list` |
| API endpoint relative path | This is the path to the API without the host URL. | An example: `/r2` |
| API query parameters | Key-value pairs that are appended to the API URL for filtering. Values can be strings, scripts, or references to fields in the credential table. | An example: Name \[name of query parameter\] Value type \[Static values\] Value \[a string\] |
| Pagination parameters | Dynamic parameters used to retrieve subsequent pages of API data. Specify the parameter name, its location in the request \(Query, Header, or Body\), the path to extract its next value from the API response, and an optional default value. | An example of pagination type Offset: Offset Parameter name \[start\] Location in API request \[Query parameters\] Default value \[0\] Limit Parameter name \[count\] Location in API request \[Query parameters\] Default value \[5\] |
| \(Optional\) Add parameter | Add custom parameters | Select **Add parameter** to define your own parameters.For example, you might want to determine if there are additional pages of data that are included in the API response. Parameter name \[hasMore\] Path in API response \[$.hasMore\] Location in API request \[Header parameters\] Default value \[1\] |