OPERATIONS
Partner CAD webhooks
HMAC-signed webhook ingress for Adam and similar partners. Configure FOUR_ECHELON_PARTNER_WEBHOOK_SECRET and point the partner product at /api/v1/cad/partner-webhook.
POST /api/v1/cad/partner-webhook
HMAC-SHA256 over the raw JSON body. Send X-Four-Echelon-Signature, X-Adam-Signature, or X-Hub-Signature-256: sha256=….
Terminal
$ BODY='{"partner":"adam","document_id":"doc_123","feature_tree":[{"id":"sketch-1","feature_type":"sketch"}]}'$ SIG=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$FOUR_ECHELON_PARTNER_WEBHOOK_SECRET" | awk '{print $2}')$ curl https://fourechelon.com/api/v1/cad/partner-webhook \ -H "Content-Type: application/json" \ -H "X-Four-Echelon-Signature: $SIG" \ -d "$BODY"