# 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:read`, `accounting:write`, `accounting:admin` · Roles: admin · Idempotency key required

MCP tool: `accounting_compliance_research_sources_add`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `url` | string (uri) | Yes | A full web address, starting with https://. at most 2000 characters. |
| `label` | string | Yes | 1–120 characters. |
| `jurisdiction` | string | Yes | Matches ^(CA\|US\|CA-[A-Z]{2}\|US-[A-Z]{2})$. |
| `idempotencyKey` | string | Yes | 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 request

```bash
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"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/complianceResearch.sources.add
