--- title: Define a REST API response header description: Define one or more REST API response headers in a REST API. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-api-explorer/define-scripted-api-response-header.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] --- # Define a REST API response header Define one or more REST API response headers in a REST API. ## Before you begin Role required: web\_service\_admin ## Procedure 1. Create a REST response header in one of the following ways.
| Option | Procedure |
|---|---|
| **Create a response header from a REST API** | 1. Navigate to **All** > **System Web Services** > **Scripted REST APIs**. 2. Select a scripted REST API record. 3. In the **Response Headers** related list, select **New**. |
| **Create a response header and associate it with a REST API** | Navigate to **All** > **Filter** and enter `sys_ws_response_header.form`.1. Enter `sys_ws_response_header.form` in the filter navigator. 2. In the **API** field, select or enter the API to associate with the response header. |