Search docs

Node.js SDK

Apideck offers native SDKs in several popular programming languages. Choose one language below to see our API Reference in your application’s language.

Command Line
npm install @apideck/node

Getting started

The module supports all Apideck API endpoints. For complete information about the API, head to the docs. All endpoints require a valid apiKey so that's the only required parameter to initialize a new Apideck client

Node.js
const { Apideck } = require('@apideck/node')

const apideck = new Apideck({
  apiKey: '<insert-api-key-here>',
  appId: '<insert-application-id-here>',
  consumerId: '<insert-consumer-id-here>'
})

// Declare the Unified API you want to use
const { crm } = apideck

// Override consumerId serviceId as declared in initial configuration for this operation.
const response = await crm.contactsAll({
  // serviceId: 'salesforce', // optional
  limit: 10
})