Aller au contenu
Français

Réponse automatique

GET/v1/mailboxes/{mailbox_id}/autoresponder

Indiquez un fuseau horaire pour les dates du répondeur ; repeat_days va de 1 à 30. Seuls les nouveaux messages personnels reçoivent une réponse : From doit correspondre à Return-Path.

Zones d’autorisation et d’accès · Erreurs et répétitions

Demande

Fenêtre de terminal
curl -X GET 'https://adapt-mail.com/v1/mailboxes/<mailbox_id>/autoresponder' \
-H 'Authorization: Bearer <access_token>'

Possibilités

mailbox_idpathNécessairement

integer

X-Customer-IDheader
Option 1

string

Option 2

null

Réponses

200 Réponse réussie

application/json

object

enabled

boolean

Défaut: false

subject

string

Défaut: ""

maxLength: 200

text

string

Défaut: ""

maxLength: 10000

starts_at
Option 1

string · date-time

Option 2

null

ends_at
Option 1

string · date-time

Option 2

null

repeat_days

integer

Défaut: 7

minimum: 1

maximum: 30

Les champs inconnus ne sont pas acceptés.

401 Connexion requise

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object

403 Pas d'accès

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object

404 Ressource introuvable

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object

409 Conflit d'État

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object

422 Erreur de validation

application/json

object

detail

array

Éléments du tableau

object

locNécessairement

array

Éléments du tableau
Option 1

string

Option 2

integer

msgNécessairement

string

typeNécessairement

string

503 Indisponibilité temporaire

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Éléments du tableau

object