Liste des domaines
/v1/domainsDes domaines personnalisés et un domaine partagé sont disponibles pour créer une adresse personnelle.
Zones d’autorisation et d’accès · Erreurs et répétitions
Demande
curl -X GET 'https://adapt-mail.com/v1/domains' \ -H 'Authorization: Bearer <access_token>'Possibilités
X-Customer-IDheader- Option 1
stringOption 2null
Réponses
200 Réponse réussie
application/json
array
object
idintegeraccount_id- Option 1
integerOption 2null namestringstatusstringis_sharedbooleanverification_tokenstringdns_statusobjectcreated_atstringDate et heure en UTC. S'il n'y a pas de décalage, la valeur représente également UTC.
updated_atstringDate et heure en UTC. S'il n'y a pas de décalage, la valeur représente également UTC.
401 Connexion requise
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject
403 Pas d'accès
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject
404 Ressource introuvable
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject
409 Conflit d'État
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject
422 Erreur de validation
application/json
object
detailarrayÉléments du tableauobjectlocNécessairementarrayÉléments du tableauOption 1stringOption 2integermsgNécessairementstringtypeNécessairementstring
503 Indisponibilité temporaire
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject