API Endpoint Tests
Test different 8x8 API endpoints to find which one works with your account.
Available Endpoints to Test:
- 8x8 SMS API: https://sms.8x8.com/api/v1/subaccounts/{subaccount}/messages
- 8x8 CPaaS (Wavecell): https://api.wavecell.com/v1/sms/single/send
- 8x8 Connect API: https://api.8x8.com/...
- 8x8 Chalet API: https://api.global.chalet.8x8.com/...
Troubleshooting Guide
Common Issues:
401 Unauthorized
API key is invalid or expired. Generate a new key in 8x8 Admin Console.
400 Bad Request
Phone number format issue. Ensure country code is included (+1 for US).
403 Forbidden
API access not enabled. Enable SMS API in 8x8 Admin Console > Integration.
Network Error
Firewall blocking. Whitelist: api.8x8.com, sms.8x8.com, api.wavecell.com
Required 8x8 Setup:
- Log into 8x8 Admin Console
- Go to Integration or API section
- Enable SMS API access for your account
- Generate an API key (Bearer token)
- Note your subaccount ID and sender number
- Add the API key to Netlify environment variables as
EIGHT_BY_EIGHT_API_KEY
Webhook Setup for Delivery Receipts:
To receive delivery status updates (Delivered, Failed, etc.), configure a webhook in 8x8:
- In 8x8 Admin Console, go to Integration > Webhooks
- Click Add Webhook
- Set the Webhook URL to:
Webhook URL (click to copy)
https://wellbe-comms-api-375785209979.us-central1.run.app/api/comms/sms/webhook
- Select events: SMS Delivery Report, Message Status
- Set Method to POST
- Save and test the webhook