# Trouble with Webhook to ASP.NET Web API

**URL:** <https://devforum.zoom.us/t/trouble-with-webhook-to-asp-net-web-api/4998>\
**Category:** API and Webhooks\
**Created:** [July 12, 2019, 6:06pm UTC](https://devforum.zoom.us/t/trouble-with-webhook-to-asp-net-web-api/4998 "2019-07-12T18:06:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rich1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rich1/32/1265_2.png) [@rich1](https://devforum.zoom.us/u/rich1)\
**Post date:** [July 12, 2019, 6:06pm UTC](https://devforum.zoom.us/t/trouble-with-webhook-to-asp-net-web-api/4998/1 "2019-07-12T18:06:00Z")

</div>

Hello!  
I’m having trouble all of a sudden getting the payload from a Zoom webhook. This code was working previously and now it’s not.

I have an [ASP.NET](http://ASP.NET) application hosted on Azure, using a Web API. I have a very simple POST handler that takes a .NET object, which I derived from the JSON request body. The code as is has two issues:

- If I don’t decorate the function with Accept-Verb(“GET”), it throws a 405 error saying that the method doesn’t support a GET, but previously it worked when just set up to accept a POST.

- Once I do accept GETS, the function fails because the payload is null, even though if I look in the Zoom call logs there is valid JSON data in there.

I’ve tried declaring the function both synchronously and asynchonously, with no difference. I get the same results sending a dummy call from Postman.

It seems like the way in which the request is being received is causing the request body to be missed.

Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 16, 2019, 8:53pm UTC](https://devforum.zoom.us/t/trouble-with-webhook-to-asp-net-web-api/4998/2 "2019-07-16T20:53:44Z")

</div>

Hey @rich1 thanks for reaching out and welcome to our forum.

That is strange behavior. It is correct that our webhooks are **post** requests to your webhook endpoint.

Can you send me the errors as they appear in your logs, and steps to reproduce or code I can try on my end?

Thanks!

---

<div class="post-metadata">

**Author:** ![rich1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rich1/32/1265_2.png) [@rich1](https://devforum.zoom.us/u/rich1)\
**Post date:** [July 17, 2019, 2:07pm UTC](https://devforum.zoom.us/t/trouble-with-webhook-to-asp-net-web-api/4998/3 "2019-07-17T14:07:04Z")

</div>

This only happens in V1 of the Webhooks. I’ve moved to the newer version since V1 is going to be deprecated. It receives the webhook when the controller is set up to receive only POST as a verb. Note that I used to have my V1-based controller declared to accept only POST, and it worked, so this is a recent breaking change to the V1 webhooks.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 17, 2019, 5:11pm UTC](https://devforum.zoom.us/t/trouble-with-webhook-to-asp-net-web-api/4998/4 "2019-07-17T17:11:33Z")

</div>

Hey @rich1,

The V1 webhooks will stop working soon.

I would suggest moving to V2 if you have not already.

Here is our updated docs for webhooks,

> **[Webhook-only - App Types - Getting Started - Documentation](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-webhook-only-app)**
>
> Create a Webhook-only App
> 
> 
> 
> Webhook-only apps allow you to receive near real-time information about specific events that occur in your Zoom account. Th...

> **[Meeting Created - Meeting Events - Webhook Reference - API Reference](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-created-delete)**
>
> Meeting Created
> {
> "event": "string",
> "payload": {
> "account\_id": "string",
> "operator": "email(string)",
> "object": {
> ...

Let me know if this helps!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:33pm UTC](https://devforum.zoom.us/t/trouble-with-webhook-to-asp-net-web-api/4998/5 "2020-08-21T18:33:55Z")

</div>

Closed on August 21, 2020, 6:33pm UTC


