Interface WebhooksSchemaDefinition

Webhook request

interface WebhooksSchemaDefinition {
    id: string;
    payload: CustomerGroupChangedPayload | CustomerChangedPayload | CustomerGroupMembershipsChangedPayload | TimelineEntryChangedPayload | ThreadCreatedPublicEventPayload | ThreadStatusTransitionedPublicEventPayload | ThreadAssignmentTransitionedPublicEventPayload | ThreadEmailReceivedPublicEventPayload | ThreadEmailSentPublicEventPayload | ThreadSlackMessageReceivedEventPayload | ThreadSlackMessageSentEventPayload | ThreadMSTeamsMessageReceivedEventPayload | ThreadMSTeamsMessageSentEventPayload | ThreadLabelsChangedPublicEventPayload | ThreadPriorityChangedPublicEventPayload | ThreadFieldCreatedPublicEventPayload | ThreadFieldUpdatedPublicEventPayload | ThreadFieldDeletedPublicEventPayload | ThreadChatSentPublicEventPayload | ThreadServiceLevelAgreementStatusTransitionedPayload | CustomerCreatedPublicEventPayload | CustomerUpdatedPublicEventPayload | CustomerDeletedPublicEventPayload | ThreadNoteCreatedEventPayload;
    timestamp: string;
    type: "customer.customer_group_changed" | "thread.thread_created" | "thread.thread_status_transitioned" | "thread.thread_assignment_transitioned" | "thread.email_received" | "thread.email_sent" | "thread.slack_message_received" | "thread.slack_message_sent" | "thread.ms_teams_message_sent" | "thread.ms_teams_message_received" | "thread.chat_sent" | "thread.note_created" | "thread.thread_labels_changed" | "thread.thread_priority_changed" | "thread.thread_field_created" | "thread.thread_field_updated" | "thread.thread_field_deleted" | "thread.service_level_agreement_status_transitioned" | "customer.customer_created" | "customer.customer_updated" | "customer.customer_deleted" | "customer.customer_changed" | "customer.customer_group_memberships_changed" | "timeline.timeline_entry_changed";
    webhookMetadata: WebhookMetadata;
    workspaceId: string;
    [k: string]: unknown;
}

Indexable

[k: string]: unknown

Properties

id: string
timestamp: string
type: "customer.customer_group_changed" | "thread.thread_created" | "thread.thread_status_transitioned" | "thread.thread_assignment_transitioned" | "thread.email_received" | "thread.email_sent" | "thread.slack_message_received" | "thread.slack_message_sent" | "thread.ms_teams_message_sent" | "thread.ms_teams_message_received" | "thread.chat_sent" | "thread.note_created" | "thread.thread_labels_changed" | "thread.thread_priority_changed" | "thread.thread_field_created" | "thread.thread_field_updated" | "thread.thread_field_deleted" | "thread.service_level_agreement_status_transitioned" | "customer.customer_created" | "customer.customer_updated" | "customer.customer_deleted" | "customer.customer_changed" | "customer.customer_group_memberships_changed" | "timeline.timeline_entry_changed"
webhookMetadata: WebhookMetadata
workspaceId: string

Generated using TypeDoc