Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT format |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| String | Yes | The email address to validate and verify |
{
"email": "vishalrathore9965@gmail.com"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the email check results |
| data.client_id | String | Unique identifier for this email check request |
| data.email | String | The email address that was checked |
| data.status | String | Overall safety status of the email ("safe" or other status indicators) |
| data.valid | Boolean | Whether the email is valid overall |
| data.valid_syntax | Boolean | Whether the email follows correct syntax rules |
| data.accepts_mail | Boolean | Whether the email address can receive mail |
| data.results | Boolean | Overall check result |
| data.smtp_connected | Boolean | Whether SMTP connection was successful |
| data.domain | String | The domain portion of the email address |
| data.domain_age | String | Age of the domain (null if unavailable) |
| data.domain_registrar | String | Domain registrar information (null if unavailable) |
| data.username | String | The username portion of the email address |
| data.disabled | Boolean | Whether the email account is disabled |
| data.organization | String | Organization associated with the email (null if unavailable) |
| data.organization_match | String | Organization match status (null if unavailable) |
| data.person_match | String | Person match status (null if unavailable) |
| data.is_temporary | Boolean | Whether the email is from a temporary email service |
| data.is_catch_all | Boolean | Whether the domain accepts all emails regardless of username |
| data.mx_records | Array | List of mail exchange records for the domain |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Whether the API request was successful |
| message | String | Human-readable status message |
| message_code | String | Machine-readable status code |
{
"data": {
"client_id": "email_check_PUTbQENdjpuytwsZLmnh",
"email": "vishalrathore9965@gmail.com",
"status": "safe",
"valid": true,
"valid_syntax": true,
"accepts_mail": true,
"results": true,
"smtp_connected": true,
"domain": "gmail.com",
"domain_age": null,
"domain_registrar": null,
"username": "vishalrathore9965",
"disabled": false,
"organization": null,
"organization_mactch": null,
"person_match": null,
"is_temporary": false,
"is_catch_all": false,
"mx_records": [
"alt2.gmail-smtp-in.l.google.com.",
"alt1.gmail-smtp-in.l.google.com.",
"gmail-smtp-in.l.google.com.",
"alt4.gmail-smtp-in.l.google.com.",
"alt3.gmail-smtp-in.l.google.com."
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid email format",
"message_code": "invalid_email_format"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/employment/email-check' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "vishalrathore9965@gmail.com"
}'{
"data": {
"client_id": "email_check_PUTbQENdjpuytwsZLmnh",
"email": "vishalrathore9965@gmail.com",
"status": "safe",
"valid": true,
"valid_syntax": true,
"accepts_mail": true,
"results": true,
"smtp_connected": true,
"domain": "gmail.com",
"domain_age": null,
"domain_registrar": null,
"username": "vishalrathore9965",
"disabled": false,
"organization": null,
"organization_mactch": null,
"person_match": null,
"is_temporary": false,
"is_catch_all": false,
"mx_records": [
"alt2.gmail-smtp-in.l.google.com.",
"alt1.gmail-smtp-in.l.google.com.",
"gmail-smtp-in.l.google.com.",
"alt4.gmail-smtp-in.l.google.com.",
"alt3.gmail-smtp-in.l.google.com."
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}