← All types
In Input object

WebhookTriggerConfigInput

Webhook trigger configuration. Set as TriggerConfigInput's single member to make this kind of trigger.

Fields

path

String!Required

URL path the webhook is exposed on. Must be non-empty and start with "/".

method

String!Required

HTTP method the webhook accepts. Must be one of GET, POST, PUT, PATCH or DELETE (compared case-insensitively).

Whether callers must authenticate. When false the webhook endpoint is reachable without credentials.

Referenced by (1)
Exact type SDL
"""
Webhook trigger configuration. Set as TriggerConfigInput's single member to make this kind of trigger.
"""
input WebhookTriggerConfigInput {
  """
  URL path the webhook is exposed on. Must be non-empty and start with "/".
  """
  path: String!
  """
  HTTP method the webhook accepts. Must be one of GET, POST, PUT, PATCH or DELETE (compared case-insensitively).
  """
  method: String!
  """
  Whether callers must authenticate. When false the webhook endpoint is reachable without credentials.
  """
  authRequired: Boolean!
}