Aller au contenu
Français

Sessions enregistrées

GET/v1/auth/sessions

Obligatoire cookie mail_browser. X-API-Key et Bearer ne remplacent pas ce cookie. Sans cookie, une liste vide est renvoyée.

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/auth/sessions' \
-b cookies.txt

Réponses

200 Réponse réussie

application/json

array

Éléments du tableau

object

session_id

string

mailbox_id
Option 1

integer

Option 2

null

email
Option 1

string

Option 2

null

login

string

name

string

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

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