Step 6: Calling an API

Access Token can be passed only in header and cannot be passed in the request parameter.

  • Header name should be Authorization
  • Header value should be Zoho-oauthtoken {access_token}

Request Example

Copiedcurl
 -i -L -X POST
-H "Authorization:Zoho-oauthtoken ***"
'https://thrive.zoho.com/thrive-publicapi/v1/<widget_code>/purchase'