Skip to main content

Public API Commands

The Nexudus CLI supports the Public API, which allows you to interact with your coworking space as a member rather than an administrator. This is the same API that powers the members portal, and it lets you manage your plans, bookings, invoices, visitors, and more from the command line. All public API commands use the nexudus public prefix and authenticate against a specific location’s subdomain at {webaddress}.spaces.nexudus.com.

How it works

The Public API targets a single location (determined by its web address/subdomain) and authenticates using member credentials (email + password). Tokens are stored separately from admin credentials, so you can switch between admin and member contexts independently.
For example:

Authentication

Log in as a member

If any option is omitted, the CLI will prompt you interactively.
Public API tokens are stored separately from admin credentials. You can be logged in as both an admin and a member simultaneously.

Verify your session

This displays your authenticated member information, including your email, web address, token expiry, and associated profiles.

Log out

This clears stored public API (member) credentials only — your admin credentials remain unaffected.

Command Reference

Business & Location

Most business commands support the --shape option to request only specific fields:

Plans & Contracts

Examples:

Invoices & Billing

Examples:

Bookings & Resources

Examples:

Visitors

Examples:

Profile & Settings

Examples:

Store & Checkout

Examples:

Community

Examples:

Perks

Blog & Content

Examples:

Courses

Help Desk

Teams

Deliveries & Mail

Virtual Offices

Examples:

Forms & Surveys

Onboarding & Data Files

Payments

Response Shaping

Many public API endpoints support response shaping via the --shape option. This lets you request only the fields you need, reducing response size and improving performance.
Not all commands support --shape. It’s available on commands that wrap endpoints with response shaping support (most list and get operations).

Global Flags

All public API commands support the same global flags as admin commands:

Error Handling

Common Errors

Next steps

Install the CLI

Download and set up the Nexudus CLI on your machine.

Admin Commands

Browse the full reference of admin CLI commands.