Skip to content
Search
Search the documentation
IntegrationCreateResponse
GitHub GitHub

IntegrationCreateResponse

Interface: IntegrationCreateResponse

Defined in: v1/types/integrations.ts:44

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

Properties

routes

routes: WebhookEventType[]

Defined in: v1/types/integrations.ts:54

An array of webhook scopes to subscribe to.

See

https://docs.top.gg/webhooks/events


webhook_url

webhook_url: string

Defined in: v1/types/integrations.ts:48

The URL where Top.gg should deliver webhook events for this connection.