Skip to main content
GET
Get Current Deployment
string
required
The API key for your account. You can find this in your account settings.
This endpoint reports how the application is currently wired for Git-based deploys: a GitHub App repository linkage, a legacy webhook URL, or both, depending on how the integration was set up. Use it to check the tracked repository and branch before troubleshooting a deploy, or to confirm whether a webhook still needs to be generated. The response is cached for 5 minutes per owner and application, so changes made through Set GitHub Webhook may take a few minutes to show up here. On workspace-shared applications, the caller needs the Manager or Administrator role, or ownership. To see deploy history rather than the current configuration, use List Deployments.

Parameters

string
required
The ID of the application. You can find this in the URL of your application’s dashboard.

Response

string
Indicates whether the call was successful.. success if successful, error if not.
object
The contents of the response.