Target Group Validation
Validate email addresses against specific target groups with enterprise-grade reliability
Create Target Group
Create a new target group for email validation.
POST
/api/v1/target-groupsLoading syntax highlighting...Request Example
POST
/api/v1/validate/target-groupPOST /api/v1/validate/target-group
Content-Type: application/json
Authorization: Bearer ck_live_your_api_key
{
"email": "student@stanford.edu",
"targetGroupId": "clh1234567890"
}Enhanced Features
- • Comprehensive input validation and sanitization
- • Detailed error messages with field-level validation
- • Request tracking with unique request IDs
- • Performance monitoring and logging
- • Automatic email format validation
Response Examples
Successful Validation
Loading syntax highlighting...Failed Validation
Loading syntax highlighting...Validation Error
Loading syntax highlighting...Enhanced Error Handling
HTTP Status Codes
400Bad Request
Invalid request data, malformed JSON, or validation errors
401Unauthorized
Invalid or missing API key
403Forbidden
API key does not have validate:target-groups scope
429Too Many Requests
Rate limit exceeded for your API key
503Service Unavailable
Validation service temporarily unavailable
500Internal Server Error
An unexpected error occurred on our servers
Error Codes
MALFORMED_JSONInvalid JSON in request bodyVALIDATION_ERRORRequest data validation failedINVALID_EMAIL_FORMATEmail format is invalidSERVICE_ERRORValidation service errorMISSING_API_KEYAuthorization header missingINVALID_API_KEYAPI key is invalid or expiredINSUFFICIENT_SCOPEAPI key lacks required permissionsRATE_LIMIT_EXCEEDEDToo many requests from API key