Authentication - Developers
Home / Authentication - Developers
Home / Authentication - Developers
All API requests require authentication via your API key. RukkyHub uses a simple key-based authentication model.
To get your API key:
Include your API key in the X-API-KEY header (recommended):
X-API-KEY: YOUR_API_KEY
Or send it as a POST body parameter:
key=YOUR_API_KEY
Example with cURL using header:
curl -X POST https://developers.rukkyhub.com/api/v1 \
-H "X-API-KEY: rk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-d "action=balance"
rk_live_. Use in production. Processes real orders and transactions.When creating an API key, you can restrict which actions it can perform. Available scopes:
services — List SMM servicesadd — Place SMM ordersstatus — Check SMM order statusbalance — Check account balancevtu_data_plans, vtu_sme_plans, vtu_cable_plans, vtu_electric_discos — List plansvtu_cable_verify, vtu_electricity_verify — Verify customer/metervtu_airtime, vtu_data, vtu_sme, vtu_cable, vtu_electricity, vtu_education, vtu_recharge_card — Purchase VTU servicesvtu_status — Check VTU transaction statusgiftcard_cards — List available gift card types and ratesgiftcard_trade — Submit a gift card for tradegiftcard_trades — View your gift card trade historyFor enhanced security, you can restrict an API key to specific IP addresses or domains. Configure this in the API Key Security modal in Developer Portal. When a domain whitelist is enforced, send the X-API-ORIGIN header or pass origin=/domain= in the request body.
The whitelist validation returns these errors:
API key is restricted to whitelisted domains. + detected_domain — The request origin doesn't match. Update your whitelist or send the correct header.This check needs an Origin (browser) or X-API-ORIGIN header — Server-side calls (curl/Postman) need an explicit X-API-ORIGIN header when domain whitelist is enforced. Use IP whitelist instead for server-to-server integration.If a key is compromised, revoke it immediately from the Developer Portal. Revoked keys stop working instantly. You can then generate a new key.
Secure payment gateways, automation providers, and infrastructure.