api reference

Check Domain

GET
/v1/email-domains/check-domain

Query Parameters

domain*Domain

Header Parameters

authorization?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/email-domains/check-domain?domain=string"
{  "domain": "string",  "in_use": true,  "existing_mx": [    "string"  ],  "suggested_domain": "string"}

Cancel Verification

Withdraw a verification that has not been sent for review, or dismiss a rejected one. The draft is discarded either way, except a person's confirmed brand on a rejected US SMS registration: it stays at the carrier for the next filing. One that is under review cannot be cancelled: wait for the result; if it is rejected, dismiss it. A US SMS registration that waits for your answers before its campaign is filed (`step: needs_information`) can be cancelled. So can a toll-free registration that waits for your answers. An accepted campaign waiting on runtime setup can be cancelled, as can an approved US SMS registration (`purpose=sms`): its numbers leave the campaign, the campaign is deleted at the carrier, and US-to-US texts from those numbers get 422 again. Its monthly fee is charged through the month of the cancellation, then stops. Some carriers bill a minimum number of monthly fees from approval: a registration cancelled sooner is still charged for that many months (prices: see the console). When the carrier is down or rate-limits the delete, the call answers 503 and changes nothing: try again later. When the carrier refuses the delete, the verification is cancelled in Hail all the same and Hail's fees stop as above.

Check Verification Document Cautions

Check the typed names and chosen document types again, against the reads an earlier `POST /verifications/document-check` returned (JSON). Send the form as it is now, with each slot's earlier read in `documents.<slot>.read` (the `documents.<slot>` that check returned). Only slots with a read are checked. Returns the `name`, `document_type` and `expired` warnings that check would give for this form. No file is sent, no AI model runs, no daily read is used, and nothing is saved.