Finding Organizations without a domain? | Community
Skip to main content

Finding Organizations without a domain?

  • May 24, 2024
  • 2 replies
  • 0 views

Has anyone figured out a good way to obtain a list of Orgs that do not have a domain? We don't have a clean way to pass these from our CRM and I'd like to review them periodically. 

  • In explore I can build something based on tickets, but if the org has never created a ticket they won't show up (which would be a common thing for new customers)
  • Via the API domain_names is not a valid query parameter so I can't use the org/search function
  • The account export feature seems wonky for organizations (unclear what the date range is referencing) and can't really be filtered

2 replies

Integriq
  • May 24, 2024

Hi @ben35 

You can use the Org API and filter it using Python or any other programming language. 

 I'm sharing a Python script for exporting organizations without a domain into a CSV file,(Just clone it and run)
https://colab.research.google.com/drive/178VGtszkREIkB-Z-1C-NWBczwC0QVcNP?usp=sharing

Ref Execution Video : https://sushant-awalekar.neetorecord.com/watch/7e5d06d4-27d3-4914-8004-b510388b9894


  • Author
  • May 24, 2024

Thanks Suhant! I hadn't gone that far to try it in Python since it wasn't looking like that domain_name field would even work. Thanks for the info and awesome workbook!