WebhookCall

The `WebhookCall` entity.

Definition

TypeScript
interface WebhookCall {
  id: string;
  workspaceId: string;
  endpointId: string;
  method: string;
  headers: Record<string, string>;
  contentType: string | null;
  body: string | null;
  bodyR2Key: string | null;
  bodySize: number;
  signatureStatus: "failed" | "unverified" | "passed";
  sourceIp: string | null;
  receivedAt: string;
}

Fields

FieldTypeNotes
idstringreadonly required
workspaceIdstringrequired — Workspace that received this call.
endpointIdstringrequired — Inbound endpoint that accepted the call.
methodstringrequired — HTTP method of the request.
headersRecord<string, string>required — Request headers as received.
contentTypestring | nullrequired — Content-Type header snapshot.
bodystring | nullrequired — Request body when ≤64KB; otherwise null and bodyR2Key points to R2.
bodyR2Keystring | nullrequired — R2 object key when body was too large to inline.
bodySizenumberrequired — Byte size of the raw body.
signatureStatus"failed" | "unverified" | "passed"required — unverified = endpoint has no secret configured; passed/failed otherwise.
sourceIpstring | nullrequired — Client IP address, if available.
receivedAtstringrequired — ISO-8601 timestamp when the call was received.