Skip to main content
POST
Create branch approval

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.

branch_id
string<uuid>
required

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

Body

application/json
comment
string

Approval comment.

Response

Approval created.

id
string<uuid>
required

Approval ID.

branch_id
string<uuid>
required

Approved branch.

approved_by
string<uuid>
required

User who approved.

approved_at
string
required

Approval time; kept after dismissal.

comment
string | null
required

Approval comment, or null.

dismissed_at
string | null
required

Dismissal time, or null while the approval counts.

dismissed_by
string<uuid> | null
required

User who dismissed the approval, or null.

dismissed_reason
string | null
required

Dismissal reason, or null.