Skip to main content
POST
Approve branch

Authorizations

Authorization
string
header
required

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

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

branchId
string<uuid>
required

Branch UUID belonging to the selected project. Missing or foreign branches return 404.

Body

application/json
comment
string

Response

Approval created

id
string<uuid>
required
branch_id
string<uuid>
required
approved_by
string<uuid>
required
approved_at
string
required

Recorded approval time; retained after dismissal.

comment
string | null
required
dismissed_at
string | null
required
dismissed_by
string<uuid> | null
required

User who dismissed the approval, or null while active.

dismissed_reason
string | null
required