---
title: "Get a list of variables for a website"
method: GET
path: "/push/websites/{id}/variables"
tags: ["Websites"]
---

# Get a list of variables for a website

`GET /push/websites/{id}/variables`

## Request

- Base URL: `https://api.sendpulse.com`
- URL: `https://api.sendpulse.com/push/websites/{id}/variables`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `https://api.sendpulse.com/oauth/access_token`)

## Response `200`

List of variables

- object[]
  - `id` integer
  - `name` string
  - `type` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/sendpulse/apis/sendpulse-web-push-api.md) · [All operations](https://skmtc.dev/sendpulse/apis/sendpulse-web-push-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendpulse/apis/sendpulse-web-push-api/revisions/c58bb3a81231?raw)
