Skip to content

Getting Started

timdev edited this page Jan 14, 2026 · 1 revision

Getting Started

This guide gets you from zero to your first API call.

Requirements

  • Node.js 18+ (this library uses the native fetch())

Install

npm install closecrm-node

Create a client

const Closecom = require('closecrm-node');

const api = new Closecom(process.env.CLOSE_API_KEY);

First call: “Who am I?”

const me = await api.user.me();
console.log(me);

Project structure (what you get)

  • CommonJS entry (require('closecrm-node'))
  • Resources grouped by name, e.g. api.lead, api.contact, api.activity.note
  • Built-in retry behavior for 429 Too Many Requests (rate limiting)

Next

Clone this wiki locally