Back to Developers

Reference

API Reference

The Nexbic API is organized around RESTful principles. All requests should be made over HTTPS to https://api.nexbic.dev/v1.

Sections

API Endpoints

Every API section with descriptions, parameters, and response examples.

Authentication

Endpoints for user registration, login, logout, session management, and OAuth flows.

Users

Create, update, and manage user profiles, roles, and permissions.

Organizations

Multi-tenant organization management with team invites and role-based access.

Wallet

Digital wallet operations including balances, transfers, credits, and transaction history.

Webhooks

Webhook event types, endpoint management, signing, and retry logic.

Example

Sample Request

Here is a complete example of authenticating a user and fetching their wallet balance.

Login request bash
curl -X POST https://api.nexbic.dev/v1/auth/login \
  -H "Content-Type: application/json" \
  -H "X-API-Key: nxb_sk_..." \
  -d '{
    "email": "user@example.com",
    "password": "securepassword"
  }'
Response json
{
  "session": "nxb_ses_2x...",
  "user": {
    "id": "usr_1",
    "email": "user@example.com"
  },
  "expires_at": "2026-06-19T00:00:00Z"
}
Get wallet balance bash
curl -X GET https://api.nexbic.dev/v1/wallet/balance \
  -H "Authorization: Bearer nxb_ses_2x..."
Response json
{
  "balance": {
    "credits": 5000,
    "currency": "USD"
  },
  "transactions": []
}