Sign in

Create document for a contact

documented

Create a document for a contact.

POST /dev/api/documentsDocumentsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$domain}}.agilecrm.com/dev/api/documents" \
  -X POST \
  -u "{{$email}}:{{AGILECRM_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"extension": "{{$extension}}", "doc_type": "{{$doc_type}}", "name": "{{$name}}", "url": "{{$url}}", "size": {{$size}}, "network_type": "{{$network_type}}", "contact_ids": ["{{$contact_id}}"], "deal_ids": ["{{$deal_id}}"]}'