AI and memory

complianceResearch.sources.add

Add an https page on an official Canadian or U.S. federal, provincial, state or territorial government host, a label and its jurisdiction (CA, US, CA-ON or US-TX style). Facts found on an organization's own source are suggested to that organization only.

POST/api/v1/accounting/complianceResearch.sources.add

Permissions

accounting:readaccounting:writeaccounting:admin

Who can call it

admin

Retries

Idempotency key required

MCP

accounting_compliance_research_sources_add

Fields

  • urlstring (uri)Required

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

    at most 2000 characters

  • labelstringRequired

    1–120 characters

  • jurisdictionstringRequired

    Matches ^(CA|US|CA-[A-Z]{2}|US-[A-Z]{2})$

  • idempotencyKeystringRequired

    Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.

    8–200 characters

Example

curl https://app.getoatmilk.com/api/v1/accounting/complianceResearch.sources.add \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "url": "https://example.com/webhooks/oatmilk",
  "label": "example",
  "jurisdiction": "CA"
}'
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.

POST/api/v1/accounting/complianceResearch.sources.add
curl https://app.getoatmilk.com/api/v1/accounting/complianceResearch.sources.add \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "url": "https://example.com/webhooks/oatmilk",
  "label": "example",
  "jurisdiction": "CA"
}'

More in AI and memory.