Skip to content
Search
Search the documentation
IntegrationCreateResponseSchema
GitHub GitHub

IntegrationCreateResponseSchema

Variable: IntegrationCreateResponseSchema

const IntegrationCreateResponseSchema: ZodMiniObject<{ routes: ZodMiniArray<ZodMiniEnum<{ integration.create: "integration.create"; integration.delete: "integration.delete"; }>>; webhook_url: ZodMiniURL; }, $strip>

Defined in: v1/schemas/integrations.ts:53

The response you must return from your webhook endpoint when you receive an integration.create event. This tells Top.gg where to deliver webhook events for this integration connection and which events to deliver.

See

https://docs.top.gg/webhooks/integrations#the-handshake-flow