Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
#!/bin/bash
# Check if document ID is provided
if [ $# -eq 0 ]; then
echo "Usage: $0 <docId>"
echo "Example: $0 doc123"
exit 1
fi
DOC_ID=$1
BASE_URL="http://localhost:8096"
AUTH_KEY="${INTERNAL_API_SECRET_KEY:-local}"
curl -v \
-H "x-internal-auth-key: $AUTH_KEY" \
-H "Accept: application/json" \
"$BASE_URL/markdown/$DOC_ID"
echo