{"openapi":"3.1.0","info":{"title":"verifyngn API","version":"1.0.0","summary":"Email verification for people and AI agents.","description":"Verify email addresses one by one, in batches of up to 100, or as list jobs; find an address\nfrom a name and a domain; report bounces and deliveries; get signed webhooks.\n\n- Authentication: `Authorization: Bearer <API key>` (keys start with `vk_live_` or `vk_test_`).\n- Errors are RFC 9457 problem+json (`application/problem+json`) with a stable `code`.\n- Every write (POST, DELETE) takes an `Idempotency-Key` header: the same key with the same\n  body within 24 hours returns the first answer; the same key with another body is a 409.\n- Every answer carries `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset`\n  (seconds); a 429 also carries `Retry-After` (seconds).\n- Every answer carries `Verify-Request-Id`; quote it to support.\n","contact":{"name":"verifyngn support","url":"https://verifyngn.com"},"license":{"name":"Proprietary"}},"servers":[{"url":"https://staging.verifyngn.com/v1"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"verify"},{"name":"lists"},{"name":"find"},{"name":"feedback"},{"name":"account"},{"name":"webhooks"},{"name":"zerobounce-v2","description":"ZeroBounce-compatible endpoints (switch by changing the host). Their own server and auth."}],"paths":{"/verify":{"post":{"tags":["verify"],"operationId":"verifyEmail","summary":"Verify one address.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"},"example":{"email":"ann.lee@acme.ae"}}}},"responses":{"200":{"description":"The result.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Verify-Request-Id":{"$ref":"#/components/headers/Verify-Request-Id"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Result"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/Problem"}}}},"/verify/batch":{"post":{"tags":["verify"],"operationId":"verifyBatch","summary":"Verify up to 100 addresses at once (synchronous); results in the same order.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyBatchRequest"}}}},"responses":{"200":{"description":"One result per address, in order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyBatchResponse"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/Problem"}}}},"/lists":{"post":{"tags":["lists"],"operationId":"createList","summary":"Start a list job from JSON addresses or a CSV upload.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateListJson"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateListUpload"}}}},"responses":{"202":{"description":"The job was accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}},"get":{"tags":["lists"],"operationId":"listLists","summary":"The account's lists, newest first (used by polling triggers in Zapier and Make).","parameters":[{"name":"status","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ListStatus"}},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Cursor"}],"responses":{"200":{"description":"A page of lists.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPage"}}}},"401":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/lists/{id}":{"parameters":[{"$ref":"#/components/parameters/ListId"}],"get":{"tags":["lists"],"operationId":"getList","summary":"A list's progress. With `Accept text/event-stream`, a stream of progress events.","description":"The stream sends `event: progress` with the List as `data` whenever `processed` changes\n(at most once a second), then one `event: completed` or `event: failed` and closes.\nA comment line (`: ping`) every 15 seconds keeps proxies from closing it.\n","responses":{"200":{"description":"The list, or its event stream.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}},"text/event-stream":{"schema":{"type":"string","description":"Server-sent events: progress, completed, failed; each `data` is a List."},"x-events":{"progress":{"$ref":"#/components/schemas/List"},"completed":{"$ref":"#/components/schemas/List"},"failed":{"$ref":"#/components/schemas/List"}}}}},"401":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}},"delete":{"tags":["lists"],"operationId":"deleteList","summary":"Delete a list and its results now (otherwise deleted after 30 days).","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"204":{"description":"Deleted."},"401":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/lists/{id}/results":{"parameters":[{"$ref":"#/components/parameters/ListId"}],"get":{"tags":["lists"],"operationId":"getListResults","summary":"A list's results as JSON pages or one CSV file, optionally filtered by status.","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","csv"],"default":"json"}},{"name":"status","in":"query","required":false,"description":"Comma-separated statuses to keep, for example `valid,catch_all`.","schema":{"type":"string","pattern":"^(valid|invalid|catch_all|unknown|disposable|role)(,(valid|invalid|catch_all|unknown|disposable|role))*$"}},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Cursor"}],"responses":{"200":{"description":"Results (JSON pages; CSV is the whole filtered list, the customer's columns first).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultPage"}},"text/csv":{"schema":{"type":"string"}}}},"401":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/find":{"post":{"tags":["find"],"operationId":"findEmail","summary":"Find a person's address from a name and a domain (costs 5 checks, DEC-104 proposal).","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindRequest"},"example":{"domain":"acme.ae","first_name":"Ann","last_name":"Lee"}}}},"responses":{"200":{"description":"The likeliest address, or null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindResponse"}}}},"401":{"$ref":"#/components/responses/Problem"},"402":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/feedback":{"post":{"tags":["feedback"],"operationId":"reportFeedback","summary":"Report what happened when you mailed an address (the truth the scores learn from).","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackRequest"}}}},"responses":{"200":{"description":"Recorded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ok"}}}},"401":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/credits":{"get":{"tags":["account"],"operationId":"getCredits","summary":"The account's credit balance.","responses":{"200":{"description":"The balance.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Credits"}}}},"401":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/webhooks":{"get":{"tags":["webhooks"],"operationId":"listWebhooks","summary":"The account's webhook endpoints.","responses":{"200":{"description":"Endpoints (without secrets).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookPage"}}}},"401":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}},"post":{"tags":["webhooks"],"operationId":"createWebhook","summary":"Add an endpoint. The answer carries its signing secret, shown only this once.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhook"}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookWithSecret"}}}},"401":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/webhooks/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^wh_[A-Za-z0-9]+$"}}],"delete":{"tags":["webhooks"],"operationId":"deleteWebhook","summary":"Remove an endpoint.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"204":{"description":"Removed."},"401":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/openapi.json":{"get":{"tags":["account"],"operationId":"getOpenApi","summary":"This contract (no key needed).","security":[],"responses":{"200":{"description":"The OpenAPI document.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/validate":{"servers":[{"url":"https://staging.verifyngn.com/v2"}],"get":{"tags":["zerobounce-v2"],"operationId":"zbValidate","summary":"ZeroBounce-compatible single validation.","security":[{"zbApiKey":[]}],"parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"}},{"name":"email","in":"query","required":true,"schema":{"type":"string"}},{"name":"ip_address","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"ZeroBounce's validate shape.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZbValidateResponse"},"example":{"address":"ann.lee@acme.ae","status":"valid","sub_status":"","free_email":false,"did_you_mean":null,"account":"ann.lee","domain":"acme.ae","domain_age_days":null,"smtp_provider":"microsoft","mx_found":"true","mx_record":"acme-ae.mail.protection.outlook.com","firstname":null,"lastname":null,"gender":null,"country":null,"region":null,"city":null,"zipcode":null,"processed_at":"2026-11-23 17:00:00.000"}}}}}}},"/validatebatch":{"servers":[{"url":"https://staging.verifyngn.com/v2"}],"post":{"tags":["zerobounce-v2"],"operationId":"zbValidateBatch","summary":"ZeroBounce-compatible batch validation (up to 100 here; ZeroBounce allows 200).","security":[{"zbApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["api_key","email_batch"],"properties":{"api_key":{"type":"string"},"email_batch":{"type":"array","maxItems":100,"items":{"type":"object","required":["email_address"],"properties":{"email_address":{"type":"string"},"ip_address":{"type":["string","null"]}}}}}}}}},"responses":{"200":{"description":"ZeroBounce's batch shape.","content":{"application/json":{"schema":{"type":"object","required":["email_batch","errors"],"properties":{"email_batch":{"type":"array","items":{"$ref":"#/components/schemas/ZbValidateResponse"}},"errors":{"type":"array","items":{"type":"object","properties":{"error":{"type":"string"},"email_address":{"type":"string"}}}}}}}}}}}},"/getcredits":{"servers":[{"url":"https://staging.verifyngn.com/v2"}],"get":{"tags":["zerobounce-v2"],"operationId":"zbGetCredits","summary":"ZeroBounce-compatible credit balance (a string, as ZeroBounce sends it).","security":[{"zbApiKey":[]}],"parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ZeroBounce's credits shape.","content":{"application/json":{"schema":{"type":"object","required":["Credits"],"properties":{"Credits":{"type":"string","pattern":"^-?[0-9]+$"}}},"example":{"Credits":"2375"}}}}}}},"/sendfile":{"servers":[{"url":"https://staging.verifyngn.com/v2"}],"post":{"tags":["zerobounce-v2"],"operationId":"zbSendFile","summary":"ZeroBounce-compatible file upload.","security":[{"zbApiKey":[]}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["api_key","file","email_address_column"],"properties":{"api_key":{"type":"string"},"file":{"type":"string","contentMediaType":"text/csv"},"email_address_column":{"type":"integer","minimum":1},"return_url":{"type":"string"},"has_header_row":{"type":"boolean"}}}}}},"responses":{"200":{"description":"ZeroBounce's sendfile shape.","content":{"application/json":{"schema":{"type":"object","required":["success","message","file_name","file_id"],"properties":{"success":{"type":"boolean"},"message":{"type":"string"},"file_name":{"type":"string"},"file_id":{"type":"string"}}},"example":{"success":true,"message":"File Accepted","file_name":"leads.csv","file_id":"lst_8f2k1"}}}}}}},"/filestatus":{"servers":[{"url":"https://staging.verifyngn.com/v2"}],"get":{"tags":["zerobounce-v2"],"operationId":"zbFileStatus","summary":"ZeroBounce-compatible file status.","security":[{"zbApiKey":[]}],"parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"}},{"name":"file_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ZeroBounce's filestatus shape.","content":{"application/json":{"schema":{"type":"object","required":["success","file_id","file_name","upload_date","file_status","complete_percentage"],"properties":{"success":{"type":"boolean"},"file_id":{"type":"string"},"file_name":{"type":"string"},"upload_date":{"type":"string"},"file_status":{"type":"string","enum":["Queued","Processing","Complete","Deleted","Failed"]},"complete_percentage":{"type":"string","pattern":"^[0-9]{1,3}% Complete\\.$"},"return_url":{"type":["string","null"]}}},"example":{"success":true,"file_id":"lst_8f2k1","file_name":"leads.csv","upload_date":"2026-11-23T17:00:00Z","file_status":"Complete","complete_percentage":"100% Complete.","return_url":null}}}}}}},"/getfile":{"servers":[{"url":"https://staging.verifyngn.com/v2"}],"get":{"tags":["zerobounce-v2"],"operationId":"zbGetFile","summary":"ZeroBounce-compatible results file (CSV with ZeroBounce's column names appended).","security":[{"zbApiKey":[]}],"parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"}},{"name":"file_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The CSV.","content":{"application/octet-stream":{"schema":{"type":"string"}}}}}}},"/deletefile":{"servers":[{"url":"https://staging.verifyngn.com/v2"}],"get":{"tags":["zerobounce-v2"],"operationId":"zbDeleteFile","summary":"ZeroBounce-compatible file delete.","security":[{"zbApiKey":[]}],"parameters":[{"name":"api_key","in":"query","required":true,"schema":{"type":"string"}},{"name":"file_id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ZeroBounce's deletefile shape.","content":{"application/json":{"schema":{"type":"object","required":["success","message","file_name","file_id"],"properties":{"success":{"type":"boolean"},"message":{"type":"string"},"file_name":{"type":"string"},"file_id":{"type":"string"}}},"example":{"success":true,"message":"File Deleted","file_name":"leads.csv","file_id":"lst_8f2k1"}}}}}}}},"webhooks":{"list.completed":{"post":{"operationId":"onListCompleted","summary":"A list job finished.","parameters":[{"$ref":"#/components/parameters/VerifySignature"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEvent"}}}},"responses":{"2XX":{"description":"Received. Any other answer (or none in 10 seconds) is retried with backoff."}}}},"list.failed":{"post":{"operationId":"onListFailed","summary":"A list job failed.","parameters":[{"$ref":"#/components/parameters/VerifySignature"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEvent"}}}},"responses":{"2XX":{"description":"Received."}}}},"credits.low":{"post":{"operationId":"onCreditsLow","summary":"The balance fell below the account's threshold.","parameters":[{"$ref":"#/components/parameters/VerifySignature"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsLowEvent"}}}},"responses":{"2XX":{"description":"Received."}}}},"feedback.received":{"post":{"operationId":"onFeedbackReceived","summary":"Feedback was recorded for an address (from the API, an integration or the app).","parameters":[{"$ref":"#/components/parameters/VerifySignature"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackEvent"}}}},"responses":{"2XX":{"description":"Received."}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key: `Authorization: Bearer vk_live_...`."},"zbApiKey":{"type":"apiKey","in":"query","name":"api_key","description":"The same API key, passed as ZeroBounce does (v2 only)."}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"description":"Any unique string up to 255 characters; the same key with the same body returns the first answer for 24 hours.","schema":{"type":"string","maxLength":255}},"ListId":{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^lst_[A-Za-z0-9]+$"}},"Limit":{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},"Cursor":{"name":"cursor","in":"query","required":false,"description":"The `next_cursor` of the previous page.","schema":{"type":"string"}},"VerifySignature":{"name":"Verify-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with the endpoint's secret>`.\nDuring a secret rotation the header carries one `v1=` per active secret. Reject events whose\n`t` is more than 300 seconds from now. Also sent: `Verify-Event-Id` and `Verify-Event-Type`.\n","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}}},"headers":{"RateLimit-Limit":{"schema":{"type":"integer"},"description":"Requests allowed in the window."},"RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the window."},"RateLimit-Reset":{"schema":{"type":"integer"},"description":"Seconds until the window resets."},"Verify-Request-Id":{"schema":{"type":"string"},"description":"This request's id."}},"responses":{"Problem":{"description":"An RFC 9457 problem.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"RateLimited":{"description":"Too many requests; wait `Retry-After` seconds.","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"schemas":{"Status":{"type":"string","enum":["valid","invalid","catch_all","unknown","disposable","role"]},"Reason":{"type":"string","enum":["accepted","missing","syntax","no_mx","null_mx","no_domain","disposable","role","catch_all","provider_accepts_all","catch_all_unknown","greylisted","timeout","unreachable","policy","unclear","mailbox_full","opted_out","typo"]},"Deliverable":{"type":"string","enum":["yes","no","risky","unknown"]},"Mode":{"type":"string","enum":["standard","deep"],"default":"standard","description":"`deep` lets unclear answers go to the paid fallback vendor (billed at the deep price); `standard` never does."},"Result":{"type":"object","additionalProperties":false,"required":["email","status","reason","score","deliverable","explanation","did_you_mean","flags","domain","smtp","cached","checked_at","engine"],"properties":{"email":{"type":"string"},"status":{"$ref":"#/components/schemas/Status"},"reason":{"$ref":"#/components/schemas/Reason"},"score":{"type":"integer","minimum":0,"maximum":100,"description":"How safe to send (0-100)."},"deliverable":{"$ref":"#/components/schemas/Deliverable"},"explanation":{"type":"string","description":"One plain sentence on what the answer means."},"did_you_mean":{"type":["string","null"],"description":"A typo fix; never applied for you."},"flags":{"type":"object","additionalProperties":false,"required":["role","free","disposable","catch_all"],"properties":{"role":{"type":"boolean"},"free":{"type":"boolean"},"disposable":{"type":"boolean"},"catch_all":{"type":"boolean"}}},"domain":{"type":"object","additionalProperties":false,"required":["name","provider","mx","accepts_all"],"properties":{"name":{"type":"string"},"provider":{"type":["string","null"],"description":"For example microsoft, google, or null."},"mx":{"type":["string","null"]},"accepts_all":{"type":["boolean","null"]}}},"smtp":{"type":["object","null"],"additionalProperties":false,"required":["code","enhanced"],"properties":{"code":{"type":["integer","null"]},"enhanced":{"type":["string","null"]}}},"cached":{"type":"boolean"},"checked_at":{"type":"string","format":"date-time"},"engine":{"type":"string"}},"example":{"email":"ann.lee@acme.ae","status":"valid","reason":"accepted","score":94,"deliverable":"yes","explanation":"The mail server for acme.ae confirmed this mailbox exists and does not accept made-up addresses.","did_you_mean":null,"flags":{"role":false,"free":false,"disposable":false,"catch_all":false},"domain":{"name":"acme.ae","provider":"microsoft","mx":"acme-ae.mail.protection.outlook.com","accepts_all":false},"smtp":{"code":250,"enhanced":"2.1.5"},"cached":false,"checked_at":"2026-11-23T17:00:00Z","engine":"1.0"}},"VerifyRequest":{"type":"object","additionalProperties":false,"required":["email"],"properties":{"email":{"type":"string","minLength":1,"maxLength":320},"mode":{"$ref":"#/components/schemas/Mode"},"max_age_days":{"type":"integer","minimum":0,"maximum":90,"default":30,"description":"Accept a cached answer up to this age (0 means check again now)."}}},"VerifyBatchRequest":{"type":"object","additionalProperties":false,"required":["emails"],"properties":{"emails":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","minLength":1,"maxLength":320}},"mode":{"$ref":"#/components/schemas/Mode"},"max_age_days":{"type":"integer","minimum":0,"maximum":90,"default":30}}},"VerifyBatchResponse":{"type":"object","additionalProperties":false,"required":["results","credits_used"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/Result"}},"credits_used":{"type":"integer","minimum":0}}},"ListStatus":{"type":"string","enum":["queued","running","completed","failed"]},"StatusCounts":{"type":"object","additionalProperties":false,"required":["valid","invalid","catch_all","unknown","disposable","role"],"properties":{"valid":{"type":"integer","minimum":0},"invalid":{"type":"integer","minimum":0},"catch_all":{"type":"integer","minimum":0},"unknown":{"type":"integer","minimum":0},"disposable":{"type":"integer","minimum":0},"role":{"type":"integer","minimum":0}}},"List":{"type":"object","additionalProperties":false,"required":["id","name","status","mode","total","processed","counts","credits_used","created_at","completed_at","expires_at","error"],"properties":{"id":{"type":"string","pattern":"^lst_[A-Za-z0-9]+$"},"name":{"type":"string"},"status":{"$ref":"#/components/schemas/ListStatus"},"mode":{"$ref":"#/components/schemas/Mode"},"total":{"type":"integer","minimum":0,"description":"Addresses in the list after duplicates are removed."},"processed":{"type":"integer","minimum":0},"counts":{"$ref":"#/components/schemas/StatusCounts"},"credits_used":{"type":"integer","minimum":0},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"expires_at":{"type":"string","format":"date-time","description":"When the list and its results are deleted (30 days by default)."},"error":{"type":["string","null"],"description":"Why the job failed","in one sentence.":null}}},"CreateListJson":{"type":"object","additionalProperties":false,"required":["emails"],"properties":{"name":{"type":"string","maxLength":200},"emails":{"type":"array","minItems":1,"maxItems":1000000,"items":{"type":"string","minLength":1,"maxLength":320}},"mode":{"$ref":"#/components/schemas/Mode"}}},"CreateListUpload":{"type":"object","required":["file"],"properties":{"file":{"type":"string","contentMediaType":"text/csv","description":"A CSV with a header row."},"name":{"type":"string","maxLength":200},"email_column":{"type":"string","description":"The header of the address column (default: the first column whose header contains \"email\")."},"mode":{"$ref":"#/components/schemas/Mode"}}},"ListPage":{"type":"object","additionalProperties":false,"required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/List"}},"next_cursor":{"type":["string","null"]}}},"ResultPage":{"type":"object","additionalProperties":false,"required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Result"}},"next_cursor":{"type":["string","null"]}}},"FindRequest":{"type":"object","additionalProperties":false,"required":["domain"],"properties":{"domain":{"type":"string","minLength":1,"maxLength":253},"first_name":{"type":["string","null"]},"last_name":{"type":["string","null"]},"full_name":{"type":["string","null"],"description":"Used when first and last names are not given."}}},"FindResponse":{"type":"object","additionalProperties":false,"required":["email","confidence","pattern","result","candidates_tried"],"properties":{"email":{"type":["string","null"]},"confidence":{"type":"integer","minimum":0,"maximum":100},"pattern":{"type":["string","null"],"description":"For example first.last."},"result":{"oneOf":[{"$ref":"#/components/schemas/Result"},{"type":"null"}]},"candidates_tried":{"type":"integer","minimum":0}}},"Outcome":{"type":"string","enum":["bounced","delivered","complained"]},"FeedbackRequest":{"type":"object","additionalProperties":false,"required":["email","outcome"],"properties":{"email":{"type":"string","minLength":1,"maxLength":320},"outcome":{"$ref":"#/components/schemas/Outcome"},"at":{"type":"string","format":"date-time","description":"When it happened (default now)."}}},"Ok":{"type":"object","additionalProperties":false,"required":["ok"],"properties":{"ok":{"type":"boolean","const":true}}},"Credits":{"type":"object","additionalProperties":false,"required":["balance","low_balance_threshold"],"properties":{"balance":{"type":"integer","description":"Checks left (one check per address; a find costs 5)."},"low_balance_threshold":{"type":["integer","null"],"description":"When credits.low is sent."}}},"EventType":{"type":"string","enum":["list.completed","list.failed","credits.low","feedback.received"]},"CreateWebhook":{"type":"object","additionalProperties":false,"required":["url","events"],"properties":{"url":{"type":"string","format":"uri","pattern":"^https://"},"events":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/components/schemas/EventType"}},"description":{"type":["string","null"],"maxLength":200}}},"Webhook":{"type":"object","additionalProperties":false,"required":["id","url","events","description","created_at"],"properties":{"id":{"type":"string","pattern":"^wh_[A-Za-z0-9]+$"},"url":{"type":"string"},"events":{"type":"array","items":{"$ref":"#/components/schemas/EventType"}},"description":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"}}},"WebhookWithSecret":{"type":"object","additionalProperties":false,"required":["id","url","events","description","created_at","secret"],"properties":{"id":{"type":"string","pattern":"^wh_[A-Za-z0-9]+$"},"url":{"type":"string"},"events":{"type":"array","items":{"$ref":"#/components/schemas/EventType"}},"description":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"secret":{"type":"string","pattern":"^whsec_[A-Za-z0-9]+$","description":"The signing secret; shown only in this answer."}}},"WebhookPage":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}},"ListEvent":{"type":"object","additionalProperties":false,"required":["id","type","created_at","data"],"properties":{"id":{"type":"string","pattern":"^evt_[A-Za-z0-9]+$"},"type":{"type":"string","enum":["list.completed","list.failed"]},"created_at":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":false,"required":["list"],"properties":{"list":{"$ref":"#/components/schemas/List"}}}}},"CreditsLowEvent":{"type":"object","additionalProperties":false,"required":["id","type","created_at","data"],"properties":{"id":{"type":"string","pattern":"^evt_[A-Za-z0-9]+$"},"type":{"type":"string","const":"credits.low"},"created_at":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":false,"required":["balance","threshold"],"properties":{"balance":{"type":"integer"},"threshold":{"type":"integer"}}}}},"FeedbackEvent":{"type":"object","additionalProperties":false,"required":["id","type","created_at","data"],"properties":{"id":{"type":"string","pattern":"^evt_[A-Za-z0-9]+$"},"type":{"type":"string","const":"feedback.received"},"created_at":{"type":"string","format":"date-time"},"data":{"type":"object","additionalProperties":false,"required":["email","outcome","at"],"properties":{"email":{"type":"string"},"outcome":{"$ref":"#/components/schemas/Outcome"},"at":{"type":"string","format":"date-time"}}}}},"Event":{"oneOf":[{"$ref":"#/components/schemas/ListEvent"},{"$ref":"#/components/schemas/CreditsLowEvent"},{"$ref":"#/components/schemas/FeedbackEvent"}]},"ProblemCode":{"type":"string","enum":["bad_request","unauthorized","insufficient_credits","forbidden","not_found","idempotency_conflict","list_not_ready","validation_failed","rate_limited","server_error","unavailable"]},"Problem":{"type":"object","required":["type","title","status","code"],"properties":{"type":{"type":"string","description":"A URI for the problem kind, for example https://api.verifyngn.com/problems/insufficient_credits."},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"code":{"$ref":"#/components/schemas/ProblemCode"},"request_id":{"type":"string"},"errors":{"type":"array","description":"One entry per invalid field (validation_failed).","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string"},"message":{"type":"string"}}}}}},"ZbValidateResponse":{"type":"object","additionalProperties":false,"required":["address","status","sub_status","free_email","did_you_mean","account","domain","domain_age_days","smtp_provider","mx_found","mx_record","firstname","lastname","gender","country","region","city","zipcode","processed_at"],"properties":{"address":{"type":"string"},"status":{"type":"string","enum":["valid","invalid","catch-all","unknown","spamtrap","abuse","do_not_mail"]},"sub_status":{"type":"string"},"free_email":{"type":"boolean"},"did_you_mean":{"type":["string","null"]},"account":{"type":["string","null"]},"domain":{"type":["string","null"]},"domain_age_days":{"type":["string","null"]},"smtp_provider":{"type":["string","null"]},"mx_found":{"type":"string","enum":["true","false"]},"mx_record":{"type":["string","null"]},"firstname":{"type":["string","null"]},"lastname":{"type":["string","null"]},"gender":{"type":["string","null"]},"country":{"type":["string","null"]},"region":{"type":["string","null"]},"city":{"type":["string","null"]},"zipcode":{"type":["string","null"]},"processed_at":{"type":"string"}}}}},"x-zerobounce-status-map":{"status":{"valid":"valid","invalid":"invalid","catch_all":"catch-all","unknown":"unknown","disposable":"do_not_mail","role":"do_not_mail"},"sub_status_by_reason":{"missing":"mailbox_not_found","syntax":"failed_syntax_check","no_mx":"no_dns_entries","null_mx":"does_not_accept_mail","no_domain":"no_dns_entries","disposable":"disposable","role":"role_based","greylisted":"greylisted","timeout":"timeout_exceeded","unreachable":"failed_smtp_connection","policy":"antispam_system","mailbox_full":"mailbox_quota_exceeded","opted_out":"global_suppression","typo":"possible_typo"}},"x-source-sha256":"1ba38dc529332fcc4722975bcbd68199d5d4f0212f99d480d44ef9b2687bb4a2"}