Sample endpoints

Replace my-integration with your module key. Base URL is your tenant Core origin.

Local Core

Default dev tenant: http://localhost:3000

# List records (tenant session or Connect API key)
curl -s http://localhost:3000/api/v1/my-integration/records \
  -H "Cookie: <session>" \
  | jq .

# Create record
curl -s -X POST http://localhost:3000/api/v1/my-integration/records \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: avn_live_..." \
  -d '{"name":"Partner sync","externalId":"ext-42"}' \
  | jq .

# CRM reference (first-party module — same conventions)
curl -s http://localhost:3000/api/v1/crm/contacts?page=1&pageSize=10 \
  -H "Cookie: <session>" \
  | jq .