Arkesel
Connect StarHash to Arkesel for USSD services in Ghana.
Arkesel
Arkesel provides SMS and USSD services in Ghana with a developer-friendly API.
Step 1: Get Your API Key
- Log in to Arkesel Dashboard
- Go to HTTP API → API Keys
- Copy your API key
Step 2: Configure in StarHash
- In StarHash Studio, go to Settings → Providers
- Click Add Provider
- Select Arkesel
- Enter your credentials:
| Field | Value |
|---|---|
| API Key | Your Arkesel API key |
| Shortcode | Your USSD shortcode |
- Click Save
Step 3: Set Up Callback URL
- In Arkesel Dashboard, go to USSD → Manage Callbacks
- Enter your StarHash callback URL:
https://api.starhash.dev/hooks/arkesel/{instance_id}
- Save your configuration
Step 4: Deploy Your Flow
- In StarHash Studio, open your flow
- Click Deploy
- Select the Arkesel instance
- Click Publish
Troubleshooting
| Issue | Cause | Solution |
|---|---|---|
| Invalid API Key | Wrong key | Check API key in settings |
| Shortcode not found | Wrong shortcode | Verify shortcode configuration |
| Response timeout | Slow response | Optimize flow speed |
Error Messages
Configure a fallback error message:
- Go to Instance Settings → Error Handling
- Set a custom error message
- This displays when errors occur
Send SMS from Flow
Use an Action node:
{
"actionType": "sms",
"config": {
"to": "${phone}",
"message": "Your confirmation code: ${code}",
"provider": "arkesel"
}
}
SMS Pricing
SMS charges are separate from USSD:
- Local SMS: ~GHS 0.02
- Check Arkesel dashboard for current rates
Best Practices
- Handle newSession - Check this flag for session start
- Echo IDs - Always return sessionID and msisdn
- Fast responses - Stay under 25 seconds
- Use SMS - Send confirmations via SMS

