Skip to main content
GET
List secrets

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Query Parameters

target
enum<string>

Filter by deployment target.

Available options:
preview,
production
scope
enum<string>

shared for account-level secrets, site for secrets a single site owns.

Available options:
shared,
site
starting_after
string

Cursor for pagination — the ID of the last item in the previous page

limit
integer
default:20

Items per page

Required range: 1 <= x <= 100

Response

List of secrets (values masked)

object
enum<string>
required
Available options:
list
data
object[]
required
has_more
boolean
required
url
string
required