Summary:
List custom webhook payloads.
URL:
http(s)://{server hostname}/api/webhooks/payloads
Methods summary
- GET Method - list custom webhook payloads
GET Method details
Returns a list of custom webhook payloads.
Response:
Name | Description |
---|---|
payload | data of the payload. |
endpointID | ID of the custom webhook endpoint from which the payload was received. |
endpointName | name of the custom webhook endpoint from which the payload was received. |
objectID | stormworks identifier for the managed device from which this webhook was sent. |
mediaType |
payload media type (json). |
timestamp |
timestamp of receipt of the payload. |
groupName |
name of the custom webhook group on which the endpoint is found. |
payloadID |
ID of the individual payload received. |
count |
total number of custom webhook payloads. |
Example:
INPUT
curl -u admin:admin https://localhost/api/webhooks/payloads -H 'content-type:application/json'
OUTPUT
{
"items" : [ [ {
"payload" : "{\n \"version\": \"0.1\",\n \"sharedSecret\": \"ce2b9bf1-c138-473e-b8ee-0ba7f4cbd2d7\",\n \"sentAt\": \"2021-05-11T08:09:00.046974Z\",\n \"organizationId\": \"2930418\",\n \"organizationName\": \"My organization\",\n \"organizationUrl\": \"https://dashboard.meraki.com/o/VjjsAd/manage/organization/overview\",\n \"networkId\": \"N_24329156\",\n \"networkName\": \"Main Office\",\n \"networkUrl\": \"https://n1.meraki.com//n//manage/nodes/list\",\n \"networkTags\": [\n \"region-1\",\n \"corporate\"\n ],\n \"deviceSerial\": \"Q234-ABCD-5678\",\n \"deviceMac\": \"e0:55:3d:10:56:8a\",\n \"deviceName\": \"My AP\",\n \"deviceUrl\": \"https://n1.meraki.com//n//manage/nodes/new_list/000000000000\",\n \"deviceTags\": [\n \"tag1\",\n \"tag2\"\n ],\n \"device/Model\": \"MR34\",\n \"alertId\": \"0000000000000000\",\n \"alertType\": {\n \"alert Type Name\": \"JuniperMist device came up\",\n \"alertTypeId\": \"started_reporting\"\n },\n \"alertLevel\": \"informational\",\n \"occurredAt\": \"2018-02-11T00:00:00.123450Z\",\n \"junk1\": \"junk1\",\n \"junk2\": \"junk2\",\n \"alertData\": {\n \"DataThing1\": \"thing!\" \n }\n}",
"endpointID" : 3,
"endpointName" : "MerakiInHouse",
"objectID" : 818,
"mediaType" : "json",
"timestamp" : 1649088382,
"groupName" : "Meraki",
"payloadID" : 15
} ] ],
"count" : 1
}
Comments
0 comments
Please sign in to leave a comment.