> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get authorization

> Retrieves metadata and scopes for the connected OAuth token.

`webflow.getAuthorization` retrieves metadata, authorized resources, and scopes for the connected OAuth token.

## Example

```ts automations/webflow-get-authorization.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"

export default automation("Get Webflow authorization", () => {
  onDashboardRun({ title: "Get Webflow authorization" })
  webflow.getAuthorization({})
})
```

## Inputs

This action has no provider inputs.

## Output

| Field           | Type     | Description                                             |
| --------------- | -------- | ------------------------------------------------------- |
| `authorization` | `object` | OAuth authorization metadata, when available.           |
| `application`   | `object` | Connected Webflow application metadata, when available. |

`authorization` can include `id`, `createdOn`, `lastUsed`, `grantType`, `rateLimit`, `scope`, and `authorizedTo`. `authorizedTo` contains the permitted `siteIds`, `workspaceIds`, and `userIds`. `application` can include `id`, `displayName`, `description`, and `homepage`. Automate.ax converts provider dates to ISO 8601 strings.
