Ozibus Developer PlatformDeveloper Platform Developer guide
API base https://api.ozibus.com.au/v1 Billing Prepaid PAYG via Ozibus Account Balance API & Developer Terms
Developer guide

Email verification API

Check an email address before sending. The first 999 completed API verifications per merchant are free.

Ozibus Developer Platform

This endpoint assesses whether an address is likely to receive email before you send. It checks syntax, mail routing, SMTP recipient responses, and merchant suppression and delivery history. valid means positive delivery evidence, not proof that the recipient owns the address or a guarantee that a future message will reach the inbox.

Endpoint and authentication

Send POST https://api.ozibus.com.au/v1/verify_email with JSON. Include your merchant ID and secret API key using the same server-side credentials as the other Ozibus API endpoints. Never expose a secret key in browser code.

curl --request POST 'https://api.ozibus.com.au/v1/verify_email' \
  --header 'Content-Type: application/json' \
  --header 'Merchant-Id: YOUR_MERCHANT_ID' \
  --header 'X-API-Key: YOUR_SECRET_API_KEY' \
  --header 'Authorization: Bearer YOUR_SESSION_TOKEN' \
  --data '{"email":"customer@gmail.com"}'

Generate the session token using GET /v1/generate_token as described in the API authentication guide. Supply a single email string per request. The endpoint is limited to 20 authenticated requests per merchant per minute; a rate-limited response includes a retry interval.

Response

{
  "response_code": 0,
  "response_message": "Email verification completed.",
  "data": {
    "verification": {
      "email": "customer@gmail.com",
      "status": "unknown",
      "result": "unknown",
      "score": 40,
      "syntax_valid": true,
      "has_mx": true,
      "is_disposable": false,
      "is_webmail": true,
      "smtp_probe_detail": "recipient_inconclusive",
      "evidence_source": "smtp_probe",
      "ownership_confirmed_at": null,
      "confirmation_required": false,
      "reasons": ["Mailbox could not be confirmed by SMTP; the domain may block verification probes"],
      "recommendation": "Mailbox acceptance could not be confirmed. Recheck later or use a confirmed opt-in source."
    },
    "billing": {
      "currency": "AUD",
      "charged": 0,
      "billable": false,
      "free": false,
      "free_remaining": 999
    }
  }
}

The verification object contains Ozibus's status, result, evidence_source, smtp_probe_detail, score, syntax and MX signals, suppression outcome, reasons, and recommendation. Treat valid, risky, invalid, suppressed, and unknown as verification outcomes; inspect the status rather than using response_code as an address verdict. A nonzero response code means the request could not be completed. API checks do not automatically add addresses to the suppression list. smtp_probe_detail distinguishes a failed connection, rejected probe sender, inconclusive recipient or control response, and a conclusive SMTP result.

How statuses are assigned: malformed syntax, explicit null MX or missing mail routing, and an explicit mailbox-not-found response are invalid; a suppression is suppressed; catch-all, disposable, and role addresses are risky. Temporary SMTP rejection is risky and inconclusive for billing. valid means the server accepted the target address while rejecting a random control address, or Ozibus has a recent delivery or engagement event for this merchant and address with no later bounce or complaint. SMTP refusal to disclose recipient validity, connection failure, and implicit routing without an MX record remain unknown. These outcomes are point-in-time signals; an address can still bounce later. Inspect evidence_source and reasons to understand the verdict.

Optional mailbox ownership confirmation

Ask the recipient to consent to a confirmation email. Start a challenge by posting send_challenge: true to the same endpoint. Ozibus sends a six-digit code directly to the address; it expires after 10 minutes. Collect that code from the recipient in your own application, then post it as confirmation_code. Keep both requests on your server with your merchant credentials.

{"email":"customer@gmail.com","send_challenge":true}
{"email":"customer@gmail.com","confirmation_code":"123456"}

A successful confirmation returns ownership.confirmed: true. The normal deliverability verdict is independent of this optional consent check; a confirmed address can later bounce. Codes allow five attempts. Requests are limited to one code per address per minute, three per address per day, and 30 per merchant per day. Confirmation emails use Ozibus's system mail service.

Allowance and billing

Each merchant receives 999 billable API verification outcomes free, once per account. Determinate outcomes count even when an address is invalid or repeated. unknown, temporary SMTP failures, authentication failures, malformed request input, service failures, and requests rejected for insufficient funds do not use the allowance or debit the wallet. The response reports billable and the remaining free count.

Starting or completing an ownership challenge does not consume an additional assessment check. Challenge emails have the separate daily limits above.

After the allowance is exhausted, Ozibus charges the configured AUD verification rate against the merchant wallet for each completed check. If no rate is configured, the endpoint stops paid checks rather than charging an undisclosed amount. Fund the wallet in the Ozibus app before making paid requests. Rates are configured by the platform administrator as EMAIL_VERIFICATION_PRICE_AUD in the application parameter store or server environment.

PHP SDK

$result = $ozibus->email()->verifyDeliverable('customer@example.com');
Was this page useful?Your response helps us improve the developer journey.
Report a docs issue