Skip to content
English

Autoresponder

GET/v1/mailboxes/{mailbox_id}/autoresponder

Supply autoresponder dates with a time zone; repeat_days ranges from 1 to 30. Replies apply only to new personal messages: From must match Return-Path.

Authentication and access · Errors and retries

Request

Terminal window
curl -X GET 'https://adapt-mail.com/v1/mailboxes/<mailbox_id>/autoresponder' \
-H 'Authorization: Bearer <access_token>'

Parameters

mailbox_idpathNecessarily

integer

X-Customer-IDheader
Option 1

string

Option 2

null

Responses

200 Successful response

application/json

object

enabled

boolean

Default: false

subject

string

Default: ""

maxLength: 200

text

string

Default: ""

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

Default: 7

minimum: 1

maximum: 30

Unknown fields are not accepted.

401 Login required

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array elements

object

403 No access

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array elements

object

404 Resource not found

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array elements

object

409 State conflict

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array elements

object

422 Validation error

application/json

object

detail

array

Array elements

object

locNecessarily

array

Array elements
Option 1

string

Option 2

integer

msgNecessarily

string

typeNecessarily

string

503 Temporarily unavailable

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array elements

object