# Members:create Webhook without email

**URL:** <https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642>\
**Category:** API Feedback\
**Created:** [March 12, 2019, 1:47pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642 "2019-03-12T13:47:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lapsus](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/lapsus/32/654_2.png) [@Lapsus](https://www.patreondevelopers.com/u/Lapsus)\
**Post date:** [March 12, 2019, 1:47pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/1 "2019-03-12T13:47:43Z")

</div>

I am currently recieving members:create webhooks without an email address in the data structure. I am mapping Patreons to local application accounts by email.

The members:create is then followed by a members:update webhook call, that has the email address for the user. So how can this happen? Am i using the wrong webhook? Should i use members:pledge:create or pledge:create instead?

How exactly is your workflow here? When is which webhook sent? The docs dont explain this as far as i can see. So any info is appreciated here.

---

<div class="post-metadata">

**Author:** ![l2g](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@l2g](https://www.patreondevelopers.com/u/l2g)\
**Post date:** [March 13, 2019, 1:39pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/2 "2019-03-13T13:39:31Z")

</div>

hi. I’m using members:pledge:create and members:pledge:update myself.  
In both cases I receive long json with a lot of garbage. What you are looking for is in it’s ‘data’: ‘attributes’:

```
"data": {
	"attributes": {
		"currently_entitled_amount_cents": 100,
		"email": "XXXXX",
		"full_name": "Alpha",
		"is_follower": false,
		"last_charge_date": "2019-02-23T21:51:49+00:00",
		"last_charge_status": "Paid",
		"lifetime_support_cents": 0,
		"note": "",
		"patron_status": "active_patron",
		"pledge_relationship_start": "2019-02-23T21:51:48.682888+00:00",
		"will_pay_amount_cents": 100
	}, "lots of garbage" }
```

---

<div class="post-metadata">

**Author:** ![l2g](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@l2g](https://www.patreondevelopers.com/u/l2g)\
**Post date:** [March 13, 2019, 1:41pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/3 "2019-03-13T13:41:09Z")

</div>

another thing that might be confusing is that you need to run webhook test with real second patreon account (you can create one for test purpose yourself), because test json is (surprise!) has incorrect json fields / structure

---

<div class="post-metadata">

**Author:** ![Lapsus](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/lapsus/32/654_2.png) [@Lapsus](https://www.patreondevelopers.com/u/Lapsus)\
**Post date:** [March 13, 2019, 1:51pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/4 "2019-03-13T13:51:12Z")

</div>

I get the field, but the value is null … which is quite confusing, ofcourse.

---

<div class="post-metadata">

**Author:** ![l2g](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@l2g](https://www.patreondevelopers.com/u/l2g)\
**Post date:** [March 13, 2019, 2:26pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/5 "2019-03-13T14:26:07Z")

</div>

did you try it with real patron (not just pushing ‘Send test’ button)?

---

<div class="post-metadata">

**Author:** ![Lapsus](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/lapsus/32/654_2.png) [@Lapsus](https://www.patreondevelopers.com/u/Lapsus)\
**Post date:** [March 13, 2019, 2:37pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/6 "2019-03-13T14:37:26Z")

</div>

yes. i get real patreon calls with new members and the email value is null.  
I can provide date, time and data … (with email: null) if necessary.

---

<div class="post-metadata">

**Author:** ![l2g](https://avatars.discourse-cdn.com/v4/letter/l/8797f3/32.png) [@l2g](https://www.patreondevelopers.com/u/l2g)\
**Post date:** [March 13, 2019, 7:35pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/7 "2019-03-13T19:35:56Z")

</div>

Can you double check this for members:pledge:create and members:pledge:update for json string itself (before you deserialize it).  
It is really unlikely to contain null email

---

<div class="post-metadata">

**Author:** ![Lapsus](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/lapsus/32/654_2.png) [@Lapsus](https://www.patreondevelopers.com/u/Lapsus)\
**Post date:** [March 13, 2019, 7:48pm UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/8 "2019-03-13T19:48:11Z")

</div>

As i initially said, i currently use members:create and members:update hooks. And did up to now recieve two requests from patreon that have email: null.

But i will add members:pledge:create and update as well and check for the data there.

---

<div class="post-metadata">

**Author:** ![buckettt](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@buckettt](https://www.patreondevelopers.com/u/buckettt)\
**Post date:** [May 5, 2020, 9:47am UTC](https://www.patreondevelopers.com/t/members-create-webhook-without-email/1642/9 "2020-05-05T09:47:48Z")

</div>

Hi did you ever get to the bottom of getting the email address from new pledge webhooks?
