View as Markdown
Zoho Books icon

Zoho Books ACTION

Make API Call

Makes an aribitrary call to Zoho Books API
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Zoho Books account once, then configure and run Make API Call from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "zoho_books-make-api-call",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoho_books: { authProvisionId: "apn_xxxxxxx" },
    queryString: "Query String",
    requestMethod: "Request Method",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Make API Call inputs
Property Type Description
queryString Query String string
Query string of the request.
Optional
requestMethod Request Method string
Http method to use in the request.
Required
relativeUrl Relative Url string
A path relative to Zoho Books to send the request against. For example, use /expenses for List Expenses API. See the documentation
Required
headers Headers object
Headers to send in the request.
Optional
requestBody Request Body object
Body of the request.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
zoho_books-make-api-call
Version
0.4.1
App
Zoho Books
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes