# Resolve Prior Auth Route

> Perform Resolve Prior Auth Route through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_resolve_prior_auth_route](https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_resolve_prior_auth_route)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `genhealth_resolve_prior_auth_route`

## Inputs

- `carrier_id` — Carrier Id (expression, required)
  Required literal value or workflow expression.
- `preferred_portal` — Preferred Portal (select)
  Optional selected identifier or value.
  Default: `"auto"`
  Options: Auto ("auto"), Carelon ("carelon"), WellCare ("wellcare")
- `require_ready` — Require Ready (boolean)
  Optional true-or-false value.
  Default: `true`

## Outputs

- `success` — Success
- `ready` — Ready
- `status` — Status
- `error_code` — Error Code
- `error_message` — Error Message
- `error_detail` — Error Detail
- `carrier_id` — Carrier Id
- `carrier_name` — Carrier Name
- `carrier_display_name` — Carrier Display Name
- `portal` — Portal
- `settings_url` — Settings Url

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "carrier_id"
  ],
  "properties": {
    "carrier_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "require_ready": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "preferred_portal": {
      "enum": [
        "auto",
        "carelon",
        "wellcare"
      ],
      "type": "string",
      "default": "auto",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "ready": {},
    "portal": {},
    "status": {},
    "success": {},
    "carrier_id": {},
    "error_code": {},
    "carrier_name": {},
    "error_detail": {},
    "settings_url": {},
    "error_message": {},
    "carrier_display_name": {}
  },
  "additionalProperties": true
}
```
