|
Parameter |
Data type |
Description |
|
client_id |
string |
Specify the client ID you obtained while registering your application |
|
client_secret |
string |
Specify the client secret generated from the connected application. |
|
grant_type |
string |
The grant type must be authtooauth. |
|
authtoken |
string |
Specify your auth for token.
|
|
Error code |
Description |
|
invalid_grant |
The grant_type is not specified as authtooauth. |
|
invalid_client |
The client ID you specified is wrong.
(or)
The auth to Oauth mapping entry for the valid client is not made in accounts. |
|
invalid_authtoken |
The auth token you specified is wrong.
(or)
The auth token scope mismatches with the pre-shared auth scopes. |
|
invalid_scope |
The Oauth scope you specified is invalid. |
|
Parameter |
Data type |
Description |
|
client_id |
string |
Specify the client ID you obtained while registering your application. |
|
client_secret |
string |
Specify the client secret generated from the connected application. |
|
grant_type |
string |
The grant type must be authtooauth. |
|
authtoken |
string |
Specify your auth token. |
|
scope |
string |
Specify the Oauth scopes to access data from Zoho Campaigns. For more details about Zoho Campaign scopes, refer Access Token section of the Zoho Campaigns REST API Documentation. |
|
Error code |
Description |
|
invalid_grant |
The grant_type is not specified as authtotoauth. |
|
access_denied |
The auth token you specified is already used to generate an Oauth token. |
|
invalid_client |
The client ID you specified is wrong. |
|
invalid_authtoken |
The auth token you specified is wrong. |
|
invalid_scope |
The Oauth scope you specified is invalid. |