# Webhook JSON packets - reverse order for Custom

**URL:** <https://community.particle.io/t/webhook-json-packets-reverse-order-for-custom/52457>\
**Category:** Troubleshooting\
**Created:** [October 1, 2019, 3:24pm UTC](https://community.particle.io/t/webhook-json-packets-reverse-order-for-custom/52457 "2019-10-01T15:24:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrb](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mrb](https://community.particle.io/u/mrb)\
**Post date:** [October 1, 2019, 3:24pm UTC](https://community.particle.io/t/webhook-json-packets-reverse-order-for-custom/52457/1 "2019-10-01T15:24:01Z")

</div>

When selecting “Custom” JSON data in Webhook builder Advanced Settings, the received order of JSON objects is reversed. The Integration is generated from within a Particle “Product”. Request Type POST / Request Format JSON. For testing, I’m sending data to [requestbin.com](http://requestbin.com). Here is the received data for “Custom” case:

{  
“public”: “false”,  
“fw\_version”: “0”,  
“userid”: “”,  
“published\_at”: “2019-10-01T14:47:40.510Z”,  
“coreid”: “”,  
“data”: “{“t1”: “227.68”, “t2”: “173.29”, “p1”: “6.37”, “l1”: “19.00”}”,  
“event”: “sensors”  
}

When I changed back to “Default” setting, the order returned to expected:

{  
“event”: “sensors”,  
“data”: “{“t1”: “164.15”, “t2”: “206.23”, “p1”: “29.36”, “l1”: “43.98”}”,  
“published\_at”: “2019-10-01T14:51:40.507Z”,  
“coreid”: “”,  
“userid”: “”,  
“fw\_version”: 0,  
“public”: false  
}

In both cases, the integration has:  
{  
“event”: “{{{PARTICLE\_EVENT\_NAME}}}”,  
“data”: “{{{PARTICLE\_EVENT\_VALUE}}}”,  
“coreid”: “{{{PARTICLE\_DEVICE\_ID}}}”,  
“published\_at”: “{{{PARTICLE\_PUBLISHED\_AT}}}”,  
“userid”: “{{{PRODUCT\_USER\_ID}}}”,  
“fw\_version”: “{{{PRODUCT\_VERSION}}}”,  
“public”: “{{{PARTICLE\_EVENT\_PUBLIC}}}”  
}

Is this expected behavior for “Custom”?
