Update public URL
Updates the public URL for the Syft Space server. The URL is stored in the database and synced to the configured marketplace if available.Endpoint
Authentication
Requires authentication via bearer token (admin API key).Headers
Tenant identifier. Required when multi-tenancy is enabled.
Request body
The new public URL to set. Must be a valid HTTP or HTTPS URL.
Response
The updated public URL for the server.
Example request
Example response
Notes
- The public URL is synced to the default marketplace if one is configured
- If marketplace sync fails, the endpoint returns an error and the URL is not updated
- The URL can also be set via the
SYFT_PUBLIC_URLenvironment variable on startup
Configure proxy
Configures and connects the ngrok proxy tunnel using the provided authentication token. The tunnel configuration is persisted and will automatically reconnect on app restart.Endpoint
Authentication
Requires authentication via bearer token (admin API key).Headers
Tenant identifier. Required when multi-tenancy is enabled.
Request body
Ngrok authentication token. Must be at least 1 character long. Get your token from the ngrok dashboard.
Response
Whether the proxy tunnel is successfully connected.
The public URL of the established tunnel.
Whether an ngrok token is configured (always
true after successful configuration).Example request
Example response
Error responses
404
Returned when ngrok proxy service is not configured or no default marketplace is configured.
400
Returned when connection to ngrok fails. The error detail contains information about the failure.
Notes
- The proxy automatically creates a tunnel with the marketplace username as the subdomain
- The public URL is automatically synced to the default marketplace after successful connection
- The token is securely stored and used for automatic reconnection on server restart
- Requires a default marketplace to be configured
Disconnect proxy
Disconnects the ngrok proxy tunnel and clears the stored configuration.Endpoint
Authentication
Requires authentication via bearer token (admin API key).Headers
Tenant identifier. Required when multi-tenancy is enabled.
Response
Whether the proxy tunnel is connected (always
false after successful disconnection).The public URL of the tunnel (always
null after disconnection).Whether an ngrok token is configured (always
false after disconnection).Example request
Example response
Error responses
404
Returned when ngrok proxy service is not configured.
Notes
- This clears both the active connection and the stored ngrok token
- The public URL is cleared from the default marketplace if one is configured
- After disconnection, you’ll need to provide the token again to reconnect