Skip to main content
POST
/
v1
/
alerts
/
{id}
/
test-webhook
cURL
curl -X POST \
  -H "X-API-Key: $PARTICLE_API_KEY" \
  "https://api.particle.pro/v1/alerts/{id}/test-webhook"
{
  "deliveries": [
    {
      "delivered": true,
      "url": "<string>",
      "webhook_connection_id": "<string>",
      "duration_ms": 123,
      "error": "<string>",
      "status_code": 123
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Pass your API key in the X-API-Key header (recommended).

Path Parameters

id
string
required

Alert ID

Response

OK

deliveries
object[] | null
required

One entry per active webhook connection the test was POSTed to, in the order attempted. A channel whose connection has been deleted is skipped and does not appear here.