Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.
uptimerobotPublic archive

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

7 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

Usercom.com API node SDK

This is wrapper for usercom.com API.

Usage

Import Usercom

import { Usercom } from 'usercom-node-sdk';

Initialize the client

const usercom = new UsercomSDK({
  subdomain: '<your-usercom-app>',
  token: '<your-api-key>',
});

Users

// returns a page of users.
// If next is null it returns the first page.
usercom.user.users({ next });

// creates a single user, visit api docs for payload info
usercom.user.create({ data });

// updates user using userId attribute,
// not the ID used by usercom.
// Currently supports updating custom attributes only
usercom.user.update({ userId, customAttributes });

// deletes user based on user ID attribute
usercom.user.delete({ userId });

Events

// timestamp and data is optional
usercom.event.create({ userId, name, timestamp, data });

Tags

// returns paginated results of usercom tags
usercom.tags();

// returns a fetcher function similar to usercom.user.users
// based on the provided tagId argument
usercom.getUsersWithTag(tagId);

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages