Skip to content
Search
Search the documentation
WebhookTestWebhookPayloadSchema
GitHub GitHub

WebhookTestWebhookPayloadSchema

Variable: WebhookTestWebhookPayloadSchema

const WebhookTestWebhookPayloadSchema: ZodMiniObject<{ data: ZodMiniObject<{ project: ZodMiniObject<{ id: ZodMiniString<string>; platform: ZodMiniEnum<{ discord: "discord"; roblox: "roblox"; }>; platform_id: ZodMiniString<string>; type: ZodMiniEnum<{ bot: "bot"; game: "game"; server: "server"; }>; }, $strip>; user: ZodMiniObject<{ avatar_url: ZodMiniURL; id: ZodMiniString<string>; name: ZodMiniString<string>; platform_id: ZodMiniString<string>; }, $strip>; }, $strip>; type: ZodMiniLiteral<"webhook.test">; }, $strip>

Defined in: v1/schemas/votes.ts:77

The payload delivered to your webhook endpoint when you send a test webhook from the dashboard or via the API.