Zoho desk Rest API

Zoho desk Rest API

I want to consume zoho desk ticket API,but i'm getting error as unauthorized person (401 http error code).
I am setting params orgid and access token still i could not able to figure it out.