cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API not working as expected - Retrieving my domains returns empty array

Hello all, 

 

I'm trying to retrieve all my domains with a CURL, for later implementation on my personal backoffice,

 

I've followed all the instructions, created the API and got the key/secret,

 

I'm doing these in OTE (On test environment i believe),

 

curl -X GET "https://api.ote-godaddy.com/v1/domains?includes=nameServers" -H "accept: application/json" -H "Authorization: sso-key MyKey:MySecret"

 

And it returns an empty array: []

 

But I've got 3 domains on my account..btw I am not a reseller, I just want to retrieve my account domains so I can have it listed on my backoffice without having to add each manually,

 

Thanks in advance

Best regards