Technical FAQ
Technical questions and answers about Lineserve's messaging platform and APIs.
API Integration
What programming languages do you support?
Our REST APIs can be integrated with any programming language that can make HTTP requests. We provide official client libraries for:
- Node.js
- Python
- PHP
- Java
- .NET (C#)
- Ruby
- Go
For other languages, you can use our REST API directly with your preferred HTTP client.
How do I handle webhooks securely?
To ensure your webhooks are secure:
- Verify the signature included in webhook headers
- Only accept HTTPS connections
- Implement proper error handling
- Use IP whitelisting when possible
Sample code for webhook signature verification is available in our GitHub repository.
What's the maximum message size?
- SMS: 160 characters per segment (up to 1600 characters using concatenation)
- WhatsApp: 4,096 characters
- Rich Media: Varies by channel (see our API Reference)
How do I handle message delivery receipts?
Delivery receipts (DLRs) are sent to your webhook endpoint. To process them:
- Configure your webhook URL in the dashboard
- Implement an endpoint to receive the callbacks
- Process the delivery status updates in your application
See our Webhooks documentation for detailed implementation guidelines.
Performance & Reliability
What's your system uptime?
Our platform maintains 99.95% uptime, with real-time status updates available at status.lineserve.com.
What are the API rate limits?
Rate limits vary by plan:
- Basic: 10 requests/second
- Professional: 50 requests/second
- Enterprise: 200+ requests/second (customizable)
Exceeding rate limits results in HTTP 429 responses. Implement exponential backoff in your code to handle these gracefully.
How do I optimize for high-volume messaging?
For high-volume scenarios:
- Use batch APIs to send multiple messages in one request
- Implement proper error handling and retry logic
- Consider using queues in your architecture
- Distribute sending over time for very large campaigns
- Contact us for dedicated throughput if sending millions of messages
How do you handle failover and disaster recovery?
Our infrastructure is deployed across multiple geographic regions with automatic failover. Data is replicated in real-time, and we maintain a Recovery Time Objective (RTO) of less than 4 hours for critical systems.
Troubleshooting
Why are my messages not being delivered?
Common reasons include:
- Invalid phone numbers (check formatting)
- Insufficient credits
- Content filtered as spam
- Recipient has opted out
- Network issues in the destination country
Check the delivery status codes in our API Reference for specific error information.
How do I debug webhook issues?
To troubleshoot webhook problems:
- Check your logs for incoming requests
- Verify your server is accessible from the internet
- Ensure your endpoint responds with HTTP 200
- Use tools like Webhook.site for testing
- Check for firewall or security restrictions
What should I do if I receive an API error?
- Check the HTTP status code and error message
- Refer to our Error Handling documentation
- Ensure your API key has the required permissions
- Check your account status and credit balance
- If the issue persists, contact support with the request ID
Include the X-Request-ID
header from the response when contacting support about API errors.
Development Best Practices
Should I use a dedicated library or direct API calls?
We recommend using our official client libraries when available for your language. They provide:
- Automatic request signing
- Error handling
- Retry logic
- Type safety (in typed languages)
For simple integrations or unsupported languages, direct API calls are perfectly acceptable.