Pular para o conteúdo

Obter domínio

GET
/domains/{id}
curl --request GET \
"https://api.iporto.com.br/api/external/v1/domains/4666" \
--header "Authorization: Bearer $IPORTO_API_KEY" \
--header "Accept: application/json"

Um domínio, pelo id da listagem — o mesmo número que a mensagem traz em smtp_domain_id.

id
required
integer
>= 1

O identificador do domínio.

O domínio.

Media typeapplication/json

O domínio de envio. reputation.quality diz por qual grupo de IP ele sai; reputation.reach diz quais destinos aceitam a mensagem, e é null quando a régua de pontuação não se aplica ao domínio.

object
object
string
nullable
id
integer
domain
string
nullable
type
string
nullable
status
string
nullable
dns
object
spf
boolean
dkim
boolean
dmarc
boolean
site
boolean
tracking
string
nullable
reputation
object
score
number
score_7d
number
quality
object
value
string
nullable
label
string
nullable
reach
object
value
string
nullable
label
string
nullable
description
string
nullable
evaluated_at
string
nullable
sending
object
ip_type
string
nullable
created_at
string
nullable
Examplegenerated
{
"object": "example",
"id": 1,
"domain": "example",
"type": "example",
"status": "example",
"dns": {
"spf": true,
"dkim": true,
"dmarc": true,
"site": true,
"tracking": "example"
},
"reputation": {
"score": 1,
"score_7d": 1,
"quality": {
"value": "example",
"label": "example"
},
"reach": {
"value": "example",
"label": "example",
"description": "example"
},
"evaluated_at": "example"
},
"sending": {
"ip_type": "example"
},
"created_at": "example"
}

A chave não foi enviada, ou venceu.

Media typeapplication/json
object
error
string
Examplegenerated
{
"error": "example"
}

Não existe, foi removido ou é de outra conta — respondemos igual nos três casos, de propósito.

Media typeapplication/json
object
error
string
Examplegenerated
{
"error": "example"
}