Back to Blog
Guides
Sep 09, 2024 7 min read

A Beginner's Guide to SMS Activation APIs

BT

Bloom Team

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

  1. Request a number for your target service
  2. Receive the number in the API response
  3. Use the number for verification
  4. 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' })
});
Share this article:
API
Development
Tutorial

Related Articles

Guides

Learn the proper methods to use virtual numbers for WhatsApp without getting banned. A complete 2024 guide.