curl --request POST \
--url https://api.qovery.com/service/{serviceId}/gitWebhook/sync \
--header 'Authorization: Bearer <token>'{
"status": "ACTIVE",
"provider": "GITHUB",
"missing_events": [
"<string>"
]
}Synchronizes the Qovery webhook configuration for a git-based service.
curl --request POST \
--url https://api.qovery.com/service/{serviceId}/gitWebhook/sync \
--header 'Authorization: Bearer <token>'{
"status": "ACTIVE",
"provider": "GITHUB",
"missing_events": [
"<string>"
]
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Service ID of an application/job/container/database
Webhook synchronized successfully
The webhook configuration status:
ACTIVE, NOT_CONFIGURED, MISCONFIGURED, UNABLE_TO_VERIFY The git provider where the webhook is configured
GITHUB, GITLAB, BITBUCKET List of required events that are missing from the webhook configuration (only present when status is MISCONFIGURED)
Was this page helpful?