createWebhook(input: CreateWebhookInput!): CreateWebhookPayload!
Requires project.agents.write.
Arguments
Input fields
input
Response
Returns CreateWebhookPayload!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation CreateWebhook($input: CreateWebhookInput!) {
createWebhook(input: $input) {
webhookSecret
}
}{
"input": {
"name": "example",
"target": {
"kind": "agent",
"id": "example"
},
"projectReference": "example-project"
}
}