Is it possible to get webhooks for assistant creat...
# support
c
Hi all, I was looking through the documentation and I wasn't able to see if you could track create/update events for my assistants. This is because I want to run some downstream async workflows based on prompt changes from various people working on my bot ๐Ÿ™‚ Thanks!
v
Vapi does not currently support webhooks for assistant create or update events. As a workaround, you can poll the List Assistants API and compare the
updatedAt
field to detect changes. Hereโ€™s a simple example using
curl
and `jq`:
Copy code
bash
curl -H "Authorization: Bearer <API_KEY>" https://api.vapi.ai/assistants/list | jq '.assistants[] | {id, updatedAt}'
Check for changes in
updatedAt
to trigger your downstream workflows. Source: - [Server events](https://docs.vapi.ai/server-url/events)
v
Message marked as helpful by @CinchBlue! ๐ŸŽ‰