I am trying to call GoDaddy API in Postman to check if a domain is available or not. I have got client key and secret but when I pass them I always get following error:
{
“code”: “MISSING_CREDENTIALS”,
“message”: “Unauthorized : Credentials must be specified”
}
I am passing domain name in Params
and key and secret in Authorization
as shown in below screenshot.
https://i.stack.imgur.com/29xO2.png
Is there a particular way I need to pass key and secret because I can see I can also pass it in header or on body? A successful request would look something like this (this is taken from GoDaddy website)
curl -X 'GET' \
'https://api.ote-godaddy.com/v1/domains/available?domain=example.com&checkType=FAST&forTransfer=false' \
-H 'accept: application/json' \
-H 'Authorization: sso-key some_key_here'
GoDaddy API page
https://developer.godaddy.com/doc/endpoint/domains#/v1/available
Basically I just want to test GoDaddy API in postman rather than making a PHP or other page to test.