I know how to create a custom device using the API. I just need to know how to get a list of custom devices in Dynatrace Managed, using an API if there is one available. I don’t see any mention of it in the documentation (Custom device API — Dynatrace Docs)
Unfortunatly not, that API endpoint is still missing. But as a workaround to get all custom device names and IDs you could query one of your custom metrics through the timeseries API and you will get a list of all custom devices that are actively writing that metric.