> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getgriffinapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Event Delivery Status

> Update a notification event's delivery status (used by notification workers after dispatch). When status.channelMeta is set, it is merged into channelsNotified for that channel.



## OpenAPI

````yaml https://hub.griff.services/documentation/json patch /notifications/events/{id}
openapi: 3.1.0
info:
  title: Griffin Hub API
  description: API for managing and running test monitors
  version: 1.0.0
servers:
  - url: https://hub.griff.services
    description: Local development server
  - url: http://localhost:3000
    description: Local development server
security:
  - bearerAuth: []
tags:
  - name: monitors
    description: Test monitor management endpoints
  - name: runs
    description: Test run management endpoints
  - name: metrics
    description: Metrics and health summary endpoints
paths:
  /notifications/events/{id}:
    patch:
      tags:
        - notifications
      summary: Update Event Delivery Status
      description: >-
        Update a notification event's delivery status (used by notification
        workers after dispatch). When status.channelMeta is set, it is merged
        into channelsNotified for that channel.
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - channelKey
                - status
              properties:
                channelKey:
                  type: string
                status:
                  type: object
                  required:
                    - status
                    - attemptedAt
                  properties:
                    status:
                      anyOf:
                        - type: string
                          enum:
                            - delivered
                        - type: string
                          enum:
                            - failed
                    responseCode:
                      type: number
                    messageId:
                      type: string
                    error:
                      type: string
                    attemptedAt:
                      type: string
                      format: date-time
                    channelMeta:
                      anyOf:
                        - type: object
                          required:
                            - channelType
                          properties:
                            channelType:
                              type: string
                              enum:
                                - slack
                            thread_ts:
                              type: string
                        - type: object
                          required:
                            - channelType
                          properties:
                            channelType:
                              type: string
                              enum:
                                - email
                        - type: object
                          required:
                            - channelType
                          properties:
                            channelType:
                              type: string
                              enum:
                                - webhook
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    type: object
                    required:
                      - id
                      - ruleId
                      - triggerReason
                      - channelsNotified
                      - deliveryStatus
                      - createdAt
                    properties:
                      id:
                        type: string
                      ruleId:
                        type: string
                      runId:
                        type: string
                      triggerReason:
                        type: string
                      channelsNotified:
                        type: object
                        additionalProperties:
                          anyOf:
                            - type: object
                              required:
                                - channelType
                              properties:
                                channelType:
                                  type: string
                                  enum:
                                    - slack
                                thread_ts:
                                  type: string
                            - type: object
                              required:
                                - channelType
                              properties:
                                channelType:
                                  type: string
                                  enum:
                                    - email
                            - type: object
                              required:
                                - channelType
                              properties:
                                channelType:
                                  type: string
                                  enum:
                                    - webhook
                      deliveryStatus:
                        type: object
                        additionalProperties:
                          type: object
                          required:
                            - status
                          properties:
                            status:
                              anyOf:
                                - type: string
                                  enum:
                                    - pending
                                - type: string
                                  enum:
                                    - delivered
                                - type: string
                                  enum:
                                    - failed
                            responseCode:
                              type: number
                            messageId:
                              type: string
                            error:
                              type: string
                            attemptedAt:
                              type: string
                              format: date-time
                      createdAt:
                        type: string
                        format: date-time
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
        '502':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
        '504':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````