Pipeline in webhook

I need to now the pipeline’s of a concrete object when a receive webhook, its possible to know? If not, which is the best solution for this problem? Maybe call the API after receiving the webhook?

Thanks!