Skip to content

Create Static Gate ​


Create a new static gate for domain proxying. The API token will be automatically generated if not provided.

Endpoint ​

http
POST /static-gate

Request Body ​

name
string

A descriptive name for the static gate.

Example: My Static Gate
domain
string

The domain this static gate will proxy requests for.

Example: api.example.com
environment_id
string · uuid

The ID of the environment this static gate will be scoped to.

Example: 8a2b104d-74a6-47f2-b93e-c6b611e82391
api_token_secret
string

Optional API token secret. If not provided, one will be generated automatically.

Example: your-api-token-secret

Response Body ​

id
string · uuid

The ID of the static gate.

Example: 1ba1f401-7183-47c5-9e39-e8e257e3c795
name
string

A descriptive name for the static gate.

Example: My Static Gate
domain
string

The domain this static gate will proxy requests for.

Example: api.example.com
created_by
string · uuid

The ID of the user who created this static gate.

Example: b7bb7578-bff2-42b2-a57f-46c874865296
environment_id
string · uuid

The ID of the environment this static gate is scoped to.

Example: 8a2b104d-74a6-47f2-b93e-c6b611e82391
created_at
string · date-time

The date and time when the static gate was created.

Example: 2021-08-10T10:30:00.000Z
updated_at
string · date-time

The date and time when the static gate was last updated.

Example: 2021-08-10T10:30:00.000Z
api_token
string

The generated API token for this static gate.

Example: abc123def456ghi789jkl012mno345pqr678stu901vwx234yz