Connectors and webhooks

dataSources.resolve

Open a pasted link or ID from a data source (for Notion: notion.so, app.notion.com, notion.site links, database and page IDs; for Google Drive: drive.google.com and docs.google.com links to files and folders, or a Drive ID). Returns whether it is a database or a page and the database ID to read rows from.

GETPOST/api/v1/accounting/dataSources.resolve

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_data_sources_resolve

Fields

  • sourceenumRequired

    Where the record came from.

    notiongoogle_driveonedrive
  • urlstringRequired

    A full web address, starting with https://.

    1–2000 characters

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/dataSources.resolve \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'source=notion' \
  --data-urlencode 'url=https://example.com/webhooks/oatmilk'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

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

More in Connectors and webhooks.