Authentication
Register a new account
Create a new VirtualSMS account. After registration, generate an API key in Settings to use the API.
Alternatively, use Google OAuth or Telegram Login available on the web dashboard.
post/api/v1/auth/register
Request
- Base URL: https://virtualsms.io
- URL: https://virtualsms.io/api/v1/auth/register
- Auth: none required
Request body
Example request
{
"email": "user@example.com",
"password": "secure123"
}Response
Account created successfully
Example response
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"expires_at": "2026-03-04T12:00:00Z",
"email": "user@example.com"
}Changes
No recorded changes to this operation across all 1 revision of this API.