EventToWebHookConfig
The configuration for posting a payload to a WebHook when an event gets triggered which has the url as a field to store where to post the payload to.
type EventToWebHookConfig implements IEventActionConfig {
id: String!
trigger: EventTrigger!
code: String
createdAt: DateTime!
lastModifiedAt: DateTime!
createdBy: Int
lastModifiedBy: Int
names(
language: String
): [LocalizedString!]!
url: String!
}
Fields
EventToWebHookConfig.id
● String!
non-null scalar
The ID of the event, uuid v7 format
EventToWebHookConfig.trigger
● EventTrigger!
non-null enum
The event to trigger the action defined in the event action config
EventToWebHookConfig.code
● String
scalar
The event code to use when the trigger is [CUSTOM_EVENT]
EventToWebHookConfig.createdAt
● DateTime!
non-null scalar
The creation date of this EventActionConfig
EventToWebHookConfig.lastModifiedAt
● DateTime!
non-null scalar
The last modified date of this EventActionConfig
EventToWebHookConfig.createdBy
● Int
scalar
ID of the user who created this EventActionConfig
EventToWebHookConfig.lastModifiedBy
● Int
scalar
ID of the user who last modified this EventActionConfig
EventToWebHookConfig.names
● [LocalizedString!]!
non-null object
EventToWebHookConfig.names.language
● String
scalar
Filter for filtering LocalizedString entities by language
EventToWebHookConfig.url
● String!
non-null scalar
The URL of the webhook to send the payload to
Interfaces
IEventActionConfig
interface
Returned By
eventToWebHookConfigCreate
mutation ● eventToWebHookConfigUpdate
mutation