{
  "opencollection": "1.0.0",
  "info": {
    "name": "Certify API Layer Event Email Settings API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Event Email Settings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all event email settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves all event email settings for all context and mode combinations"
        },
        {
          "info": {
            "name": "Update context-level CC email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/cc-email",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the context-level CC email for event emails"
        },
        {
          "info": {
            "name": "Update context-level logo settings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/logo-settings",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the context-level logo settings for event emails"
        },
        {
          "info": {
            "name": "Update context-level logo URL",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/logo-url",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the context-level logo URL for event emails"
        },
        {
          "info": {
            "name": "Update MMO outcome filter",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/mmo-outcome-filter",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Selects primary MMO outcome(s) to send. When both approved and denied plan UDF outcomes are present for the same workflow event, both emails are sent to preserve dual-outcome delivery behavior. Omit or empty = both."
        },
        {
          "info": {
            "name": "Update context-level recipient preferences",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/recipient-preferences",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the context-level recipient preferences for event emails"
        },
        {
          "info": {
            "name": "Get event email settings for specific context and mode",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/:mode",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "mode",
                "value": "",
                "type": "path",
                "description": "Mode (credentialing or recredentialing)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves event email settings for a specific context (practitioner/facility) and mode (credentialing/recredentialing)"
        },
        {
          "info": {
            "name": "Create or update event email settings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/:mode",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "mode",
                "value": "",
                "type": "path",
                "description": "Mode (credentialing or recredentialing)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates or updates event email settings for a specific context and mode"
        },
        {
          "info": {
            "name": "Update event email settings",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/:mode",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "mode",
                "value": "",
                "type": "path",
                "description": "Mode (credentialing or recredentialing)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates event email settings for a specific context and mode (alias for POST)"
        },
        {
          "info": {
            "name": "Delete event email settings",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:9000/organizations/:organizationId/event-email-settings/:context/:mode",
            "headers": [
              {
                "name": "tenant-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "context",
                "value": "",
                "type": "path",
                "description": "Context (practitioner or facility)"
              },
              {
                "name": "mode",
                "value": "",
                "type": "path",
                "description": "Mode (credentialing or recredentialing)"
              },
              {
                "name": "organizationId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes event email settings for a specific context and mode"
        }
      ]
    }
  ],
  "bundled": true
}