Based on a working webhook I have you need something like this:
{
"event": "pot",
"url": "https://api.thingspeak.com/update",
"requestType": "POST",
"query": {
"key": "<thing-api-key>",
"field1": "{{PARTICLE_EVENT_VALUE}}"
},
"noDefaults": true,
"mydevices": true,
"deviceid": "<particle-device-id>"
}
If the above is in a file called webhook.json, then use the particle cli to create the webhook:
particle webhook create webhook.json
Alternative you can directly call Thingspeak from firmware: