API Authentication
The email API uses the API key to provide authentication to access our API functions. An API key is a unique code that helps the developers to interact with the data and functionalities of email API.
How to generate API key
The most important step in using this version is you must generate API key before you can start using the API.
Log in to your Zoho Campaigns account.
Under Navigation tool bar, click on API keys.
Now, click on API key to view the list of keys.
Note :
Scope: ZohoCampaigns.emailapi.ALL
A maximum of 20 API keys can be generated per user.
Calling an API
Once you've generated the API key, you can start making API calls. To call an API, you must add the below header to your API request
Authorization: Zoho-zapikey <api_key>
API Root Endpoint: https://campaigns.zoho.com/emailapi/v2/
Content-Type: application/json
Sample request
No access-related entities are used in Email API requests in this version. The API call to send email in this API version is below.
JSON
https://campaigns.zoho.com/emailapi/v2/transmission