# Create Authorization

> Perform Create Authorization through Essette.

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

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

- Handler: `essette_create_authorization`

- 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"`
- `plan_id` — Plan Id (expression, required)
  Required literal value or workflow expression.
- `auth_class` — Auth Class (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
  Default: `"DME"`
- `auth_subclass` — Auth Subclass (select, required, dynamic options)
  Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `auth_type` — Auth Type (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
  Default: `"PREI"`
- `service_date_start` — Service Date Start (expression, required)
  Required literal value or workflow expression.
- `service_date_end` — Service Date End (expression, required)
  Required literal value or workflow expression.
- `provider_location_id` — Provider Location Id (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `requested_by_id` — Requested By Id (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `auth_id` — Auth Id
- `incomplete_auth_id_for_recovery` — Incomplete Auth Id For Recovery
- `auth_number` — Auth Number
- `class_id` — Class Id
- `subclass_id` — Subclass Id
- `type_id` — Type Id
- `provider_location_id` — Provider Location Id
- `requested_by_id` — Requested By Id
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- 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",
    "plan_id",
    "auth_subclass",
    "service_date_start",
    "service_date_end"
  ],
  "properties": {
    "plan_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "auth_type": {
      "type": "string",
      "default": "PREI",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "auth_class": {
      "type": "string",
      "default": "DME",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "auth_subclass": {
      "type": "string",
      "description": "Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "requested_by_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "service_date_end": {
      "description": "Required 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"
    },
    "service_date_start": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "provider_location_id": {
      "type": "string",
      "description": "Optional 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": {
    "error": {},
    "auth_id": {},
    "success": {},
    "type_id": {},
    "class_id": {},
    "auth_number": {},
    "subclass_id": {},
    "error_message": {},
    "requested_by_id": {},
    "provider_location_id": {},
    "incomplete_auth_id_for_recovery": {}
  },
  "additionalProperties": true
}
```
