Skip to main content
POST
/
static-sites
/
deployments
Manually deploy a static site
curl --request POST \
  --url https://api.sevalla.com/v2/static-sites/deployments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "static_site_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
  "branch": "main"
}'
{
  "deployment": {
    "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
    "status": "waiting"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
static_site_id
string<uuid>
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

branch
string
Example:

"main"

Response

Deployment created successfully

deployment
object
required
I