How to get status of a domain using the API?

How can I use the api to retrieve the status of a domain?


I want to be able to use the api to get it’s status: available/deactivated/etc

I get this when using that curl command:

{“success”:false,“errors”:[{“code”:1001,“message”:“Invalid zone identifier”}],“messages”:,“result”:null}

The message says it all. You didn’t specify a proper zone.

Make sure all the parameters are properly provided.

I see. Is there a way to retrieve all the zones identifier for an account?

Yes, same URL, just a bit above that entry.