# Search Authorizations

> Perform Search Authorizations through Essette.

Source: [https://genhealth.ai/docs/workflows/integrations/essette/essette_search_authorizations](https://genhealth.ai/docs/workflows/integrations/essette/essette_search_authorizations)

Integration: [Essette](https://genhealth.ai/docs/workflows/integrations/essette.md)

- Handler: `essette_search_authorizations`

- Connection type: `essette`

## Inputs

- `essette_account_id` — Essette Account Id (select, required, dynamic options)
  Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
  Default: `"primary"`
- `date_from` — Date From (date)
  Optional date in YYYY-MM-DD format.
- `date_to` — Date To (date)
  Optional date in YYYY-MM-DD format.
- `auth_number` — Auth Number (expression)
  Optional literal value or workflow expression.
- `status` — Status (select)
  Optional selected identifier or value.
  Options: All (""), Approved ("Approved"), In Process ("In Process"), Denied ("Denied"), Partial Approval ("Partial Approval"), Void ("Void"), MD Review ("MD Review"), Dismissal ("Dismissal"), Extended ("Extended")
- `top` — Top (number)
  Optional numeric value.
  Default: `20`

## Outputs

- `success` — Success
- `count` — Count
- `results` — Results
- `error` — Error
- `error_message` — Error Message

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": [
    "essette_account_id"
  ],
  "properties": {
    "top": {
      "type": "number",
      "default": 20,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "status": {
      "enum": [
        "",
        "Approved",
        "In Process",
        "Denied",
        "Partial Approval",
        "Void",
        "MD Review",
        "Dismissal",
        "Extended"
      ],
      "type": "string",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "date_to": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "date_from": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "auth_number": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "essette_account_id": {
      "type": "string",
      "default": "primary",
      "description": "Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "results": {},
    "success": {},
    "error_message": {}
  },
  "additionalProperties": true
}
```
