The Onboarding Buddy Email Validation API enables developers to validate email addresses with precision, ensuring accurate user data, checking for disposable domains, and verifying MX records. Perfect for onboarding, compliance, fraud prevention, and marketing campaigns, this API offers single and batch validation endpoints to streamline your application’s user verification process.
Endpoint | Method | Purpose |
---|---|---|
POST /validation-service/validation/email |
POST | Validates a single email address and returns the validation response. |
POST /validation-service/batch/email-address |
POST | Validates a batch of email addresses 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/email-address/{batchId} |
GET | Retrieves the validation results for a batch of email addresses using the batch ID. |
Use the POST /validation-service/validation/email
endpoint to validate a single email address. Include your API credentials in the headers for secure access.
curl -X POST https://www.onboardingbuddy.co/validation-service/validation/email \
-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 '{"email": "user@example.com"}'
Example Response:
{
"isValid": true,
"details": {
"format": "valid",
"domain": "example.com",
"isDisposable": false,
"mxRecords": ["mx.example.com"]
}
}
Use the POST /validation-service/batch/email-address
endpoint to validate multiple email addresses efficiently.
curl -X POST https://www.onboardingbuddy.co/validation-service/batch/email-address \
-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 '{"emails": ["user1@example.com", "user2@disposable.com", "invalid.email"]}'
Example Response:
{
"batchId": "batch-12345",
"status": "processing"
}
Check the status of a batch validation request using the GET /validation-service/batch/poll/{batchId}
endpoint.
curl -X GET https://www.onboardingbuddy.co/validation-service/batch/poll/batch-12345 \
-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-12345",
"status": "completed"
}
Retrieve the results of a completed batch validation using the GET /validation-service/batch/email-address/{batchId}
endpoint.
curl -X GET https://www.onboardingbuddy.co/validation-service/batch/email-address/batch-12345 \
-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-12345",
"results": [
{
"email": "user1@example.com",
"isValid": true,
"details": {
"format": "valid",
"domain": "example.com",
"isDisposable": false,
"mxRecords": ["mx.example.com"]
}
},
{
"email": "user2@disposable.com",
"isValid": false,
"details": {
"format": "valid",
"domain": "disposable.com",
"isDisposable": true
}
},
{
"email": "invalid.email",
"isValid": false,
"details": {
"format": "invalid"
}
}
]
}
The Onboarding Buddy Email Validation API is ideal for:
Get started with the Onboarding Buddy Email Validation API today. Sign up to obtain your API credentials, explore the full API documentation, or discover other use cases like mobile validation or sanctions checks. For technical details, view all API endpoints.
Start Validating Emails Now