Learn how to integrate SMS verification into your application using our simple REST API.
Getting Started
First, sign up for a BloomSMS account and get your API key from the dashboard.
Basic API Flow
- Request a number for your target service
- Receive the number in the API response
- Use the number for verification
- Poll the API or use webhooks to receive the SMS
Code Example
const response = await fetch('https://api.bloomsms.com/v2/number', {
method: 'POST',
headers: { 'Authorization': 'Bearer YOUR_API_KEY' },
body: JSON.stringify({ service: 'whatsapp', country: 'US' })
});