CreateIncomingWebhookInput
Input for creating an incoming webhook
nameString!Display name (required)
slugString!URL path segment (required, unique per tenant)
activeBooleanEnable/disable the endpoint (default: true)
Allowed HTTP methods (default: [POST])
Authentication strategy (default: NONE)
authConfigStringNon-secret authentication settings (JSON), e.g. hmacHeaderName. Supplying a secret key here is an error naming authSecret — this field is returned by reads, so a secret in it can be echoed back over the stored one.
authSecretStringThe API key (API_KEY) or HMAC secret (HMAC). Write-only: never returned by any query. Omit — or send an empty string, which is what a blank password box submits — to leave the stored secret unchanged. To remove one, switch authStrategy to a strategy that does not use it.
scriptBodyString!Lua script source code (required)
timeoutMsIntExecution timeout in milliseconds (default: 5000)
Bot user ID for webhook execution identity
Controller ID for on-premise binding
View exact SDL
"""Input for creating an incoming webhook"""
input CreateIncomingWebhookInput {
"""Display name (required)"""
name: String!
"""URL path segment (required, unique per tenant)"""
slug: String!
"""Enable/disable the endpoint (default: true)"""
active: Boolean
"""Allowed HTTP methods (default: [POST])"""
allowedMethods: [WebhookHTTPMethod!]
"""Authentication strategy (default: NONE)"""
authStrategy: WebhookAuthStrategy
"""
Non-secret authentication settings (JSON), e.g. `hmacHeaderName`. Supplying a secret key here is an error naming `authSecret` — this field is returned by reads, so a secret in it can be echoed back over the stored one.
"""
authConfig: String
"""
The API key (API_KEY) or HMAC secret (HMAC). Write-only: never returned by any query. Omit — or send an empty string, which is what a blank password box submits — to leave the stored secret unchanged. To remove one, switch `authStrategy` to a strategy that does not use it.
"""
authSecret: String @iac_writeOnly(presence: "hasAuthSecret", updatedAt: "authSecretUpdatedAt")
"""Lua script source code (required)"""
scriptBody: String!
"""Execution timeout in milliseconds (default: 5000)"""
timeoutMs: Int
"""Bot user ID for webhook execution identity"""
botUserId: UserID
"""Controller ID for on-premise binding"""
controllerId: ControllerID
}One stable address across all schema views. Follow a field’s type to explore connections between domains.