# notion.resolveLink

Resolve a pasted Notion link or ID (notion.so, app.notion.com, notion.site, collection://) to the page, database, or data source it refers to.

`GET | POST /api/v1/accounting/notion.resolveLink`

Permissions: `accounting:read` · Roles: admin, finance · Reaches outside Oatmilk (email or a provider)

MCP tool: `accounting_notion_resolve_link`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `url` | string | Yes | A full web address, starting with https://. 1–2000 characters. |

## Example request

```bash
curl -G https://app.getoatmilk.com/api/v1/accounting/notion.resolveLink \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'url=https://example.com/webhooks/oatmilk'
```

Reference page: https://app.getoatmilk.com/docs/api/notion.resolveLink
