# Zoho Campaigns setup for PopMCP

You paste the Client ID and Client secret of a Server-based Application you register in the Zoho API Console, then sign in with Zoho. An Email API key is optional.

- Auth: OAuth authorization
- Setup time: 5 min
- API base URL: https://campaigns.zoho.com/api/v1.1
- Credentials screen: https://api-console.zoho.com/
- Provider docs: https://www.zoho.com/campaigns/help/developers/

## Before you begin

- A Zoho Campaigns account.
- A Zoho user who can see the mailing lists and campaigns the AI should work with.
- Knowing which Zoho data center your account lives in: the domain you sign in at, such as zoho.com, zoho.eu, zoho.in or zoho.com.au.
- PopMCP's callback URL from the connect form: https://app.popmcp.com/api/providers/zoho-campaigns/callback

## Get your credentials

### 1. Open the API Console for your data center

Sign in at api-console.zoho.com as the Zoho user whose Zoho Campaigns access the AI should have. If your Zoho account lives in another data center, use that data center's console instead, for example api-console.zoho.eu, api-console.zoho.in or api-console.zoho.com.au. Click Get Started on your first visit, or Add Client if you already have clients.

Screen: https://api-console.zoho.com/

### 2. Choose Server-based Applications

Pick Server-based Applications and click Create Now. PopMCP signs you in through a redirect, so the other client types, Self Client included, cannot complete the connection.

Screen: https://api-console.zoho.com/

### 3. Name the client and add PopMCP's redirect URI

Enter a Client Name such as `PopMCP` and any Homepage URL, for example `https://app.popmcp.com`. Paste `https://app.popmcp.com/api/providers/zoho-campaigns/callback` into Authorized Redirect URI, then click Create.

Screen: https://api-console.zoho.com/

### 4. Copy the Client ID and Client Secret

Open the Client Secret tab and copy Client ID (it starts with `1000.`) and Client Secret. You only need the Settings tab if people in other data centers will sign in through this client: there you can turn on Multi-DC and tick their data centers.

Screen: https://api-console.zoho.com/

### 5. Paste both values into PopMCP and sign in

In PopMCP, paste the values into Client ID and Client secret. Only if you created the client outside zoho.com, open More options and type that data center into Zoho data center, for example `EU`, `IN` or `AU`. If you send through the Email API and want it to use a key, paste one into Email API key under More options: make it under API Keys on the Email API page in Zoho Campaigns. Click Sign in with Zoho, accept the permissions, and choose the workspace the connection belongs in.

## Fields PopMCP asks for

- Client ID (clientId) [required]: The "Client ID" on your app's Client Secret tab.
- Client secret (clientSecret) [required]: The "Client Secret" on the same tab. Stored encrypted and used only on the server.
- Zoho data center (dataCenter): Only when your app was made outside zoho.com: the data center its console is in, e.g. EU (zoho.eu), IN, AU, JP, CA, SA or CN. One of: US, EU, IN, AU, JP, CA, SA, UK, AE, SG, CN.
- Email API key (emailApiKey): Only if you send through Zoho Campaigns' Email API and want it to use a key. Make one under API Keys on the Email API page in Zoho Campaigns. Your sign-in works without it.

## Callback URL to register

https://app.popmcp.com/api/providers/zoho-campaigns/callback

## Scopes requested

- ZohoCampaigns.campaign.READ
- ZohoCampaigns.contact.READ
- ZohoCampaigns.workflow.READ
- ZohoCampaigns.campaign.ALL
- ZohoCampaigns.contact.ALL
- ZohoCampaigns.workflow.CREATE

## Verify

PopMCP shows Zoho Campaigns as Connected, and zoho_campaigns_list_mailing_lists returns your mailing lists while zoho_campaigns_list_recent_campaigns lists your campaigns.

## Troubleshooting

### "Zoho did not accept the Client ID and Client secret for the United States data center"

Cause: The client was created in another data center's console, such as api-console.zoho.eu, while **Zoho data center** was left empty, or one of the values was mistyped.

Fix: Type that data center (EU, IN, AU, JP, CA, SA, UK, AE, SG or CN) into **Zoho data center** under **More options**, or turn on Multi-DC on the client's **Settings** tab. Recopy both values from the **Client Secret** tab.

### "Zoho rejected the redirect URI"

Cause: The client's **Authorized Redirect URI** does not exactly match PopMCP's callback.

Fix: Open the client in the API Console, correct **Authorized Redirect URI** on the **Client Details** tab to `https://app.popmcp.com/api/providers/zoho-campaigns/callback`, save, and connect again.

### "Zoho Campaigns would not let this sign-in read your mailing lists"

Cause: The sign-in did not accept every permission, or the Zoho user does not use Zoho Campaigns.

Fix: Connect again and accept every permission on the consent screen, with the Zoho user who uses Zoho Campaigns.

### "This Zoho user has no Zoho Campaigns account"

Cause: The account lives in another data center, or this Zoho user has not started Zoho Campaigns.

Fix: Sign in with the Zoho user you use for Zoho Campaigns. If you made your client in another data center's console, type that data center into **Zoho data center** under **More options**.

### "Zoho did not accept the Email API key"

Cause: The key was mistyped or deleted.

Fix: Make a new one under **API Keys** on the Email API page in Zoho Campaigns, or leave **Email API key** empty to use your sign-in.

---

Source: https://www.docs.popmcp.com/docs/integrations/zoho-campaigns/