Go to All Forums

curl call is not giving grant token

I am trying to get grant token by curl call . I followed the api guide. However, I am not able to get grant token. Can somebody help me on this. Below is the output.

It is giving me 302 Error


kumaran-a01:~ kumaran$ curl 'accounts.zoho.com/oauth/v2/auth?scope=Site24x7.admin.Read&client_id=1000.I7N03Z050TJ22780791IRT5A4L4G3H&response_type=code&redirect_uri=www.site24x7.com&prompt=consent&access_type=online&state=automationtesting' -XPOST

kumaran-a01:~ kumaran$


Like (2) Reply
Replies (1)

Hope this is related to the other forum post by you.


Grant token can't be created using curl command. We have updated the API Doc to get the Grant Token via API Console itself. 

Like (0) Reply

Was this post helpful?