appgram / docs
Dashboard

API REFERENCE

Webhooks

Inspect the sample payload for a webhook event type.

v1.0

Webhooks

Get a sample payload for an event type

Returns a synthetic payload identical in shape to what real events deliver. Zapier polls this to populate field pickers without waiting for a real event to fire.

GET/api/v1/webhooks/events/{type}/sample

Authorizations

x-api-key (header)required

Request examples show the credential location. Use a server-side key with the permissions required by this operation.

Path parameters

typestringpathrequired

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

GET /api/v1/webhooks/events/{type}/sample
curl --request GET \
  --url 'https://api.appgram.dev/api/v1/webhooks/events/{type}/sample' \
  --header 'x-api-key: <api-key>'
Response · 200
{
  "data": {
    "data": {},
    "event": "string",
    "id": "string",
    "metadata": {
      "organization_id": "string",
      "project_id": "string",
      "triggered_by": "string"
    },
    "timestamp": "1970-01-01T00:00:00.000Z"
  },
  "success": true
}
—