**Version: 202601**

# List script tags

**GET** `/openapi/2026-01/script_tags`

Retrieves a paginated list of all script tags in a shop's storefront.

## Request

**Query Parameters**

- `cursor` string

  Cursor for pagination
- `page_size` int32

  Page size
- `page` int32

  Page number (1-based). Mutually exclusive with cursor
- `event_type` string

  Type of event

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `script_tags` object[]

    List of script tags

    *   Array \[

    - `id` string

      Created script tag ID
    - `display_scope` string

      Indicates where the script tag is applied
    - `src` string

      URL of the script file
    - `event_type` string

      The tag type, as specified during creation
    - `created_at` string

      The timestamp when the script tag was created. Format: YYYY-MM-DDTHH:mm:ssZ
    - `updated_at` string

      The timestamp when the script tag was last updated. Format: YYYY-MM-DDTHH:mm:ssZ
    *   \]
  - `cursor` string

    Cursor for pagination
  - `has_more` boolean

    Whether there are more records

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "script_tags": [
      {
        "id": "string",
        "display_scope": "string",
        "src": "string",
        "event_type": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "cursor": "string",
    "has_more": true
  }
}
```
