Skip to content
English

Saved sessions

GET/v1/auth/sessions

Required cookie mail_browser. X-API-Key and Bearer do not replace this cookie. Without cookie an empty list is returned.

Authentication and access · Errors and retries

Request

Terminal window
curl -X GET 'https://adapt-mail.com/v1/auth/sessions' \
-b cookies.txt

Responses

200 Successful response

application/json

array

Array elements

object

session_id

string

mailbox_id
Option 1

integer

Option 2

null

email
Option 1

string

Option 2

null

login

string

name

string

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

503 Temporarily unavailable

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array elements

object