Saved sessions
GET
/v1/auth/sessionsRequired 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
curl -X GET 'https://adapt-mail.com/v1/auth/sessions' \ -b cookies.txtResponses
200 Successful response
application/json
array
Array elements
object
session_idstringmailbox_id- Option 1
integerOption 2null email- Option 1
stringOption 2null loginstringnamestring
401 Login required
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray elementsobject
403 No access
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray elementsobject
404 Resource not found
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray elementsobject
409 State conflict
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray elementsobject
503 Temporarily unavailable
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray elementsobject