← Back to Changelog

Nodejs SDK with QR Codes!

improved

You can create a QR code via the SDK from a short code easily:

import { Link } from '@hyphen/sdk';

const link = new Link({
  organizationId: 'your_organization_id',
  apiKey: 'your_api_key',
});

const code = 'code_1234567890'; // It is the code identifier for the short code you want to create a QR code for
const response = await link.createQrCode(code);
console.log('Create QR Code Response:', response);