NexusKit

Developer

API Reference

Everything you need to integrate with NexusKit. Authentication, endpoints, error handling, and rate limits — all in one place.

Base URL

All API requests use the following base URL:

$https://api.nexus-kit.com

All endpoints are versioned under /v1/. Public endpoints use /v1/public/.

Authentication

NexusKit uses Bearer token authentication. Include your API key in the Authorization header:

Authorization: Bearer nk_live_abc123def456...

API Key Formats

nk_live_Production keys — use in live environments
nk_test_Test keys — use during development and staging

API keys are scoped per module. You can create read-only or read-write keys in the dashboard under Developers → API Keys.

Common Headers

Include these headers with every API request:

HeaderRequiredDescription
AuthorizationYesBearer token — your API key prefixed with Bearer
X-Tenant-IdNoOverride tenant context (advanced — defaults to the key's owning tenant)
Content-TypeFor POST/PATCHSet to application/json for JSON request bodies

Error Responses

All API responses follow a consistent envelope format. Errors include a machine-readable code and a human-readable message:

{
  "data": null,
  "meta": {},
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Email is required",
    "details": {
      "field": "email",
      "reason": "missing_required"
    }
  }
}
HTTP StatusError CodeDescription
400VALIDATION_ERRORRequest body failed validation
401UNAUTHORIZEDMissing or invalid API key
403FORBIDDENAPI key lacks the required scope
404NOT_FOUNDResource does not exist
429RATE_LIMITEDToo many requests — slow down
500INTERNAL_ERRORSomething went wrong on our end

Rate Limiting

To keep NexusKit fast and fair for everyone, all API requests are rate limited:

120requests per minute per IP per tenant

When you hit the limit, you'll receive a 429 Too Many Requests response. Wait a moment and retry. The response includes Retry-After headers with the number of seconds to wait.

Contact

Capture leads from website forms via API. Submissions land in your dashboard with email notifications.

MethodPathAuthScopeDescription
GET/v1/contact/formsBearercontact:readList all forms for your tenant
POST/v1/contact/formsBearercontact:writeCreate a new contact form
GET/v1/contact/forms/:id/submissionsBearercontact:readList submissions for a form
PATCH/v1/contact/submissions/:idBearercontact:writeUpdate submission status or notes
GET/v1/contact/export.csvBearercontact:readExport submissions as CSV
POST/v1/public/contact/forms/:id/submissionsNonePublic — submit a form from your site

Booking

Calendar booking with services, availability slots, and appointment management.

MethodPathAuthScopeDescription
GET/v1/booking/servicesBearerbooking:readList all booking services
POST/v1/booking/servicesBearerbooking:writeCreate a new booking service
POST/v1/booking/availabilityBearerbooking:writeQuery available time slots
GET/v1/booking/bookingsBearerbooking:readList all bookings
GET/v1/booking/export.csvBearerbooking:readExport bookings as CSV
GET/v1/public/booking/servicesNonePublic — list services for embedding
GET/v1/public/booking/services/:id/slotsNonePublic — get available slots for a service
POST/v1/public/booking/bookingsNonePublic — create a booking

Links & QR

Short links and printable QR codes with privacy-safe aggregate analytics.

MethodPathAuthScopeDescription
GET/v1/qr/linksBearerqr:readList all short links
POST/v1/qr/linksBearerqr:writeCreate a new short link or QR code
GET/v1/qr/export.csvBearerqr:readExport links and analytics as CSV
GET/v1/public/qr/r/:slugNonePublic — redirect short link and track scan
GET/v1/public/qr/:id.svgNonePublic — serve QR code as SVG

Onboarding

Multi-step onboarding flows with progress tracking and completion webhooks.

MethodPathAuthScopeDescription
GET/v1/onboarding/flowsBeareronboarding:readList all onboarding flows
POST/v1/onboarding/flowsBeareronboarding:writeCreate a new onboarding flow
GET/v1/onboarding/sessionsBeareronboarding:readList onboarding sessions
GET/v1/onboarding/export.csvBeareronboarding:readExport sessions as CSV
POST/v1/public/onboarding/sessionsNonePublic — start a new session
PATCH/v1/public/onboarding/sessions/:idNonePublic — advance session to next step

Invoices

Digital and printable invoices and receipts with email delivery.

MethodPathAuthScopeDescription
GET/v1/invoice/invoicesBearerinvoice:readList all invoices
POST/v1/invoice/invoicesBearerinvoice:writeCreate a new invoice
GET/v1/invoice/invoices/:id/printBearerinvoice:readRender invoice as printable PDF
GET/v1/invoice/export.csvBearerinvoice:readExport invoices as CSV

Need help?

Join our community or check the FAQ in the sidebar.