Inngest · Example Payload

Inngest Create Webhook Example

AI AgentsAgentKitBackground JobsConnectCron JobsDev ServerDurable EndpointsDurable ExecutionEvent-DrivenInsightsOrchestrationQueuesRealtimeSelf-HostingServerlessSignalsStep FunctionsWebhooksWorkflows

Inngest Create Webhook Example is an example object payload from Inngest, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.inngest.com/v2/env/webhooks",
    "headers": {
      "Authorization": "Bearer signkey-prod-***",
      "Content-Type": "application/json"
    },
    "body": {
      "name": "stripe-payments",
      "transform": "function transform(evt) { return { name: 'stripe/' + evt.type, data: evt.data.object }; }"
    }
  },
  "response": {
    "status": 201,
    "body": {
      "id": "wh_01HZXB3WPKQTNS4Q3K8R2HZE9C",
      "name": "stripe-payments",
      "url": "https://inn.gs/h/wh_01HZXB3WPKQTNS4Q3K8R2HZE9C",
      "transform": "function transform(evt) { return { name: 'stripe/' + evt.type, data: evt.data.object }; }"
    }
  }
}