Skip to main content
GET
/
static-sites
/
{id}
Get static site
curl --request GET \
  --url https://api.sevalla.com/v2/static-sites/{id} \
  --header 'Authorization: Bearer <token>'
{
  "static_site": {
    "id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
    "name": "my-static-site",
    "display_name": "My Static Site",
    "status": "ready",
    "repo_url": "https://github.com/user/static-site",
    "default_branch": "main",
    "auto_deploy": true,
    "remote_repository_id": "123456",
    "git_repository_id": "789012",
    "git_type": "github",
    "hostname": "my-site.sevalla.app",
    "build_command": "npm run build",
    "created_at": 1738195200000,
    "updated_at": 1738195200000,
    "deployments": [
      {
        "id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
        "status": "success",
        "repo_url": "https://github.com/user/static-site",
        "branch": "main",
        "commit_message": "feat: add new feature",
        "created_at": 1738195200000
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Response

Default Response

static_site
object
required