Skip to main content
POST
Push changes to GitHub

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose GitHub sync this affects.

Response

The outcome of the push.

Outcome of a push to the connected repository.

success
boolean
required

Whether the push succeeded.

Example:

true

commits_pushed
boolean
required

true when the push moved the repository forward. false both when the repository already had this commit and when nothing was pushed at all.

Example:

true

skipped
boolean
required

true for exactly one reason: the connection carries no GitHub App installation. Every other reason nothing was pushed comes back false, including no connection at all and a connection in error or revoked, so read error rather than this flag.

Example:

false

commit_hash
string | null

Commit pushed to the repository, or null when nothing was pushed.

Example:

"4c7e1f90ab3d5628e1a0f7b24c9d8e6350a1b2c4"

error
string | null

Why the push didn't happen, or null when it succeeded. Plain text, not a code you can branch on.

Example:

"App not connected to GitHub"

duration_ms
integer | null

How long the push took, in milliseconds. null when Base44 rejected the request before starting one.

Example:

2860