Connectors and webhooks

notion.dataSources.query

Preview rows of a Notion data source with simplified property values, optionally filtered by a title search. Paged with cursor. Properties whose names say they hold payment or tax details (bank, account, transit, institution and routing numbers, IBAN, SWIFT/BIC, Wise or Interac addresses, SIN, SSN, business or tax numbers) read as [hidden], and what they hold is hidden anywhere else in the rows too.

GETPOST/api/v1/accounting/notion.dataSources.query

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_notion_data_sources_query

Reaches outside Oatmilk

It emails people or calls another service.

Fields

  • idstringRequired

    The record's ID.

    32–36 characters

  • cursorstring

    Where the next page starts: the nextCursor value from the previous response.

    1–200 characters

  • limitinteger

    How many results to return at most.

    1 to 50 · Default 20

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/notion.dataSources.query \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9f2b5c1d7e3a4b6c8d0e2f4a6b8c0d2e'
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/notion.dataSources.query
curl -G https://app.getoatmilk.com/api/v1/accounting/notion.dataSources.query \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'id=9f2b5c1d7e3a4b6c8d0e2f4a6b8c0d2e'

More in Connectors and webhooks.