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
API Endpoints
/api/v2
Standard SMM panel API endpoint. All requests use POST with form parameters.
Request Parameters
| Parameter | Type | Description |
|---|---|---|
key | string | Your API key |
action | string | Action to perform (e.g., 'services', 'order', 'status') |
service | integer | Service ID (for order action) |
link | string | Target link (for order action) |
quantity | integer | Order quantity (for order action) |
order | integer | Order 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
/api/v1/user/countries
Get list of available countries.
/api/v1/user/services
Get list of available services.
/api/v1/user/number
Purchase a virtual number.
/api/v1/user/status/{id}
Check SMS activation status.
Account Marketplace API
Lists, fetches and delivers marketplace accounts.
API Endpoints
/api/accounts
Get list of available accounts.
/api/accounts/{id}
Get details of a specific account.
/api/accounts/{id}/purchase
Purchase an account.
Authentication
All API requests require authentication. Use one of the following methods:
Bearer Token (Sanctum)
API Key Header
You can generate API keys from your profile page after logging in.
Getting Started
- Sign up for an account and verify your email.
- Navigate to Profile → API Keys to generate your API key.
- Include the API key in the
Authorizationheader as a Bearer token. - Make requests to the appropriate endpoints listed above.
- 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.