Nova
Developer Reference

API Documentation

Complete reference for all API integrations in the 1SMM platform.

SMM Provider API

Fetches the SMM service catalogue and places / status-checks orders.

Service Class

Modules/SMM/Services/SMMApiService.php

Config File

Modules/SMM/Config/smm.php

Environment Variables

SMM_API_PROVIDER=default SMM_API_BASE_URL=https://your-smm-provider.com/api/v2 SMM_API_KEY=your_api_key_here

API Endpoints

POST /api/v2

Standard SMM panel API endpoint. All requests use POST with form parameters.

Request Parameters

ParameterTypeDescription
keystringYour API key
actionstringAction to perform (e.g., 'services', 'order', 'status')
serviceintegerService ID (for order action)
linkstringTarget link (for order action)
quantityintegerOrder quantity (for order action)
orderintegerOrder ID (for status action)

SMS Activation API

Buys virtual numbers and retrieves SMS verification codes.

Supported Providers

SMS-Activate · sms_activate
5SIM · 5sim
SMS-Man · sms_man

API Endpoints

GET /api/v1/user/countries

Get list of available countries.

GET /api/v1/user/services

Get list of available services.

POST /api/v1/user/number

Purchase a virtual number.

GET /api/v1/user/status/{id}

Check SMS activation status.

Account Marketplace API

Lists, fetches and delivers marketplace accounts.

API Endpoints

GET /api/accounts

Get list of available accounts.

GET /api/accounts/{id}

Get details of a specific account.

POST /api/accounts/{id}/purchase

Purchase an account.

Authentication

All API requests require authentication. Use one of the following methods:

Bearer Token (Sanctum)

Authorization: Bearer {your-api-token}

API Key Header

X-API-Key: {your-api-key}

You can generate API keys from your profile page after logging in.

Getting Started

  1. Sign up for an account and verify your email.
  2. Navigate to Profile → API Keys to generate your API key.
  3. Include the API key in the Authorization header as a Bearer token.
  4. Make requests to the appropriate endpoints listed above.
  5. Check the response format and handle errors appropriately.

Need Help?

Contact support if you need assistance with API integration or have questions about specific endpoints.