> ## 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.

# Resolve Notification Channel

> Resolve channel adapter input for building an adapter remotely (buildChannelAdapter(data)). Used by distributed notification workers.



## OpenAPI

````yaml https://hub.griff.services/documentation/json post /notifications/resolve-channel
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/resolve-channel:
    post:
      tags:
        - notifications
      summary: Resolve Notification Channel
      description: >-
        Resolve channel adapter input for building an adapter remotely
        (buildChannelAdapter(data)). Used by distributed notification workers.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - integrationNameOrId
                - routing
              properties:
                integrationNameOrId:
                  type: string
                routing:
                  anyOf:
                    - type: object
                      required:
                        - channelType
                        - channel
                      properties:
                        channelType:
                          type: string
                          enum:
                            - slack
                        channel:
                          type: string
                    - type: object
                      required:
                        - channelType
                        - toAddresses
                      properties:
                        channelType:
                          type: string
                          enum:
                            - email
                        toAddresses:
                          type: array
                          items:
                            type: string
                    - 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:
                      - provider
                    properties:
                      provider:
                        anyOf:
                          - type: string
                            enum:
                              - webhook
                          - type: string
                            enum:
                              - slack
                          - type: string
                            enum:
                              - email
                      url:
                        type: string
                      headers:
                        type: object
                        additionalProperties:
                          type: string
                      timeoutMs:
                        type: number
                      maxRetries:
                        type: number
                      channel:
                        type: string
                      accessToken:
                        type: string
                      toAddresses:
                        type: array
                        items:
                          type: string
                      fromAddress:
                        type: string
                      fromName:
                        type: string
                      replyTo:
                        type: string
                      apiKey:
                        type: string
                      sesRegion:
                        type: string
                      roleArn:
                        type: string
                      externalId:
                        type: string
                      credentials:
                        type: object
                        required:
                          - accessKeyId
                          - secretAccessKey
                        properties:
                          accessKeyId:
                            type: string
                          secretAccessKey:
                            type: string
                    additionalProperties: true
        '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

````