Skip to main content
GET
/
gates
/
{gate}
Check gate access
curl --request GET \
  --url https://api.veryfront.com/gates/{gate} \
  --header 'Authorization: Bearer <token>'
{
  "allowed": true,
  "requiredTier": "<string>",
  "limit": 123,
  "currentCount": 123
}

Documentation Index

Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

gate
string
required

Gate name such as custom_domains, code_export, collaborators, or projects

Query Parameters

currentCount
integer | null

Current resource count in camelCase form

Required range: x >= 0
Example:

2

current_count
integer | null

Current resource count in snake_case form

Required range: x >= 0
Example:

2

projectId
string<uuid>

Project ID for project-scoped gates in camelCase form

project_id
string<uuid>

Project ID for project-scoped gates in snake_case form

Response

Gate check result

allowed
boolean
required

Whether the authenticated user can access the gate

requiredTier
string

Tier required when access is denied

limit
number

Numeric limit for count-based gates

currentCount
number

Current count considered for count-based gates