For AI agents: markdown of this page — /docs-content-en/entities/documents/crm-public-url.md documentation index — /llms.txt

Documentation articles are currently available in English.

CRM document public URL

POST /v1/crm-documents/:id/public-url calls crm.documentgenerator.document.enablePublicUrl. Use a writable key with crm scope. Supply enabled: true or false.

Terminal
curl -X POST https://vibecode.bitrix24.com/v1/crm-documents/73/public-url -H 'X-Api-Key: YOUR_VIBE_KEY' -H 'Content-Type: application/json' -d '{"enabled":true}'

The response contains data.publicUrl. An enabled link is public: anyone with the address can open the document without an API key. Send enabled:false when sharing ends.