The Onboarding Buddy Mobile Number Validation API enables developers to validate mobile numbers, checking format, carrier, and line type for user verification in onboarding, authentication, or compliance processes. Ideal for registration systems, SMS campaigns, or KYC workflows, this API offers single and batch validation endpoints to enhance data accuracy and security.
Sign Up for Mobile Number Validation APIValidate mobile numbers to ensure reliable user data, reduce fraud, and comply with regulatory requirements. The Onboarding Buddy API verifies mobile number formats, identifies carriers, and determines line types (e.g., mobile, landline), making it a powerful tool for developers and businesses. Use it to streamline onboarding, enhance SMS marketing, or strengthen authentication flows.
Endpoint | Method | Purpose |
---|---|---|
POST /validation-service/validation/mobile |
POST | Validates a single mobile number and returns the validation response. |
POST /validation-service/batch/mobile |
POST | Validates a batch of mobile numbers and returns a batch validation response. |
GET /validation-service/batch/poll/{batchId} |
GET | Polls the status of a submitted batch validation request using the batch ID. |
GET /validation-service/batch/mobile/{batchId} |
GET | Retrieves the validation results for a batch of mobile numbers using the batch ID. |
Use the POST /validation-service/validation/mobile
endpoint to validate a single mobile number. Include your API credentials in the headers for secure access.
curl -X POST https://api.onboardingbuddy.co/validation-service/validation/mobile \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret" \
-H "Content-Type: application/json" \
-d '{"mobile": "+12025550123"}'
Example Response:
{
"isValid": true,
"details": {
"format": "valid",
"country": "US",
"carrier": "Verizon",
"lineType": "mobile"
}
}
Use the POST /validation-service/batch/mobile
endpoint to validate multiple mobile numbers efficiently.
curl -X POST https://api.onboardingbuddy.co/validation-service/batch/mobile \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret" \
-H "Content-Type: application/json" \
-d '{"mobiles": ["+12025550123", "+447700900123", "+invalid"]}'
Example Response:
{
"batchId": "batch-67890",
"status": "processing"
}
Check the status of a batch validation request using the GET /validation-service/batch/poll/{batchId}
endpoint.
curl -X GET https://api.onboardingbuddy.co/validation-service/batch/poll/batch-67890 \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret"
Example Response:
{
"batchId": "batch-67890",
"status": "completed"
}
Retrieve the results of a completed batch validation using the GET /validation-service/batch/mobile/{batchId}
endpoint.
curl -X GET https://api.onboardingbuddy.co/validation-service/batch/mobile/batch-67890 \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret"
Example Response:
{
"batchId": "batch-67890",
"results": [
{
"mobile": "+12025550123",
"isValid": true,
"details": {
"format": "valid",
"country": "US",
"carrier": "Verizon",
"lineType": "mobile"
}
},
{
"mobile": "+447700900123",
"isValid": true,
"details": {
"format": "valid",
"country": "UK",
"carrier": "EE",
"lineType": "mobile"
}
},
{
"mobile": "+invalid",
"isValid": false,
"details": {
"format": "invalid"
}
}
]
}
The Onboarding Buddy Mobile Number Validation API is ideal for:
Get started with the Onboarding Buddy Mobile Number Validation API today. Sign up to obtain your API credentials, explore the full API documentation, or discover other use cases like email validation or sanctions checks. For technical details, view all API endpoints.
Start Validating Mobile Numbers Now