Obter verificação
GET
/email-validations/{id}
curl --request GET \ "https://api.iporto.com.br/api/external/v1/email-validations/01K7Z6M2S4P8QR3VT9XWYB0CDE" \ --header "Authorization: Bearer $IPORTO_API_KEY" \ --header "Accept: application/json"const resposta = await fetch("https://api.iporto.com.br/api/external/v1/email-validations/01K7Z6M2S4P8QR3VT9XWYB0CDE", { method: "GET", headers: { Authorization: `Bearer ${process.env.IPORTO_API_KEY}`, Accept: "application/json", },});
console.log(await resposta.json());$client = new \GuzzleHttp\Client();
$resposta = $client->get('https://api.iporto.com.br/api/external/v1/email-validations/01K7Z6M2S4P8QR3VT9XWYB0CDE', [ 'headers' => [ 'Authorization' => 'Bearer '.getenv('IPORTO_API_KEY'), 'Accept' => 'application/json', ],]);
print_r(json_decode((string) $resposta->getBody(), true));import osimport requests
url = 'https://api.iporto.com.br/api/external/v1/email-validations/01K7Z6M2S4P8QR3VT9XWYB0CDE'headers = {'Authorization': 'Bearer ' + os.environ['IPORTO_API_KEY']}
resposta = requests.get(url, headers=headers)
print(resposta.json())Uma verificação, pelo identificador devolvido na criação ou na listagem.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
O identificador da verificação.
Responses
Seção intitulada “Responses”A verificação.
Media typeapplication/json
O mesmo objeto que a tela do Validador consome. ⚠️ Os sinalizadores de result são TRI-ESTADO: true, false ou null — e null significa que o motor não soube, nunca “não”.
object
object
string
id
string
batch_id
string
email
string
status
string
send
object
status
string
label
string
reasons
Array
result
object
valid
boolean
disposable
boolean
gibberish
boolean
typing_error
boolean
trap
boolean
abandoned
boolean
free
boolean
role
boolean
name
boolean
bank
boolean
gov
boolean
catch_all
boolean
domain
object
name
string
mx
string
diagnostic
object
smtp_response
string
line
object
number
integer
content
string
credits_charged
integer
checked_at
string
created_at
string
expires_at
string
Examplegenerated
{ "object": "example", "id": "example", "batch_id": "example", "email": "example", "status": "example", "send": { "status": "example", "label": "example", "reasons": [ "example" ] }, "result": { "valid": true, "disposable": true, "gibberish": true, "typing_error": true, "trap": true, "abandoned": true, "free": true, "role": true, "name": true, "bank": true, "gov": true, "catch_all": true }, "domain": { "name": "example", "mx": "example" }, "diagnostic": { "smtp_response": "example" }, "line": { "number": 1, "content": "example" }, "credits_charged": 1, "checked_at": "example", "created_at": "example", "expires_at": "example"}A chave não foi enviada, ou venceu.
Media typeapplication/json
object
error
string
Examplegenerated
{ "error": "example"}Não existe ou é de outra conta — respondemos igual nos dois casos, de propósito.
Media typeapplication/json
object
error
string
Examplegenerated
{ "error": "example"}