Status of deploy via vercel api

I am triggering a deploy via a deploy hook outlined above

here is the response I’m getting…

{“job”:{“id”:“s2jWHdArnpo2NTJOgy5s”,“state”:“PENDING”,“createdAt”:1743617605202}}

build is being triggered.

how can I track the status of this deploy via the vercel api? I cannot find documentation to this anywhere

You can use the List Deployments​ endpoint to fetch all deployments created since the createdAt timestamp from the webhook response. Then filter for the meta.deployHookId that matches the deploy hook used.

The Deploy Hook ID shows up as the last segment of your Deploy Hook URL. For example, https://api.vercel.com/v1/integrations/deploy/<PROJECT_ID>/<DEPLOY_HOOK_ID>

I hope that helps!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.