NexusKit

Quick start

Getting Started

Go from zero to a working API integration in five steps. All you need is a browser and a few minutes.

Setup steps

1

Create your account

Sign up at $https://app.nexus-kit.com/en/signup. No credit card required — NexusKit is free for life within fair-use limits.

2

Enable services

In your dashboard, go to Dashboard → Modules and toggle on the services you need. Start with Contact for lead capture, or enable all five.

3

Create an API key

Navigate to Dashboard → Developers and generate a new API key. Your key starts with nk_live_ for production or nk_test_ for development.

Store it securely — you won't be able to see it again.

4

Send your first request

Use the code snippet below to submit a test contact form entry. Replace the form ID and API key with your own.

const res = await fetch(
  `${NEXUSKIT_API_URL}/v1/public/contact/forms/${NEXUSKIT_FORM_ID}/submissions`,
  {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      Authorization: `Bearer ${NEXUSKIT_API_KEY}`,
    },
    body: JSON.stringify({
      locale: 'en',
      payload: {
        name: 'Jane Doe',
        email: '[email protected]',
        message: 'Hello from the quick start guide!',
      },
    }),
  }
);

const data = await res.json();
console.log('Submission ID:', data.id);
5

View your submissions

Head to Dashboard → Contact → Inbox to see your test submission. From there you can filter by status, add notes, or export as CSV.

Environment variables

Set these in your .env file or wherever you manage secrets.

VariableDescriptionExample
NEXUSKIT_API_URLBase URL for all API requests$https://api.nexus-kit.com
NEXUSKIT_API_KEYYour scoped API key (nk_live_* or nk_test_*)nk_live_abc123...
NEXUSKIT_FORM_IDThe form ID to submit to (from Contact module)frm_xyz789

Full code example

A complete Node.js script you can run locally to test the Contact API.

import 'dotenv/config';

const API_URL = process.env.NEXUSKIT_API_URL;
const API_KEY = process.env.NEXUSKIT_API_KEY;
const FORM_ID = process.env.NEXUSKIT_FORM_ID;

async function submitContact() {
  const res = await fetch(
    `${API_URL}/v1/public/contact/forms/${FORM_ID}/submissions`,
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
        Authorization: `Bearer ${API_KEY}`,
      },
      body: JSON.stringify({
        locale: 'en',
        payload: {
          name: 'Jane Doe',
          email: '[email protected]',
          message: 'Interested in your services.',
        },
      }),
    }
  );

  if (!res.ok) {
    const err = await res.text();
    throw new Error(`API error ${res.status}: ${err}`);
  }

  const data = await res.json();
  console.log('Submission created:', data.id);
}

submitContact().catch(console.error);

Next steps

Need help?

Join our community or check the FAQ in the sidebar.