Zum Inhalt springen
Deutsch

Link gegen eine Sitzung eintauschen

POST/v1/auth/login-link/consume

Nur für die Anmeldeseite adapt-mail.com: POST mit Origin: https://adapt-mail.com. Liefert session_id und HttpOnly-Cookies. Bereits verwendeter oder abgelaufener Link: HTTP 410.

Berechtigungs- und Zugangsbereiche · Fehler und Wiederholungen

Anfrage

Terminal-Fenster
curl -X POST 'https://adapt-mail.com/v1/auth/login-link/consume' \
-H 'Origin: https://adapt-mail.com' \
-c cookies.txt \
-H 'Content-Type: application/json' \
--data '{"token":"<token>"}'

Anforderungstext · application/json

object

tokenUnbedingt

string

pattern: "^[A-Za-z0-9_-]{43}$"

Unbekannte Felder werden nicht akzeptiert.

Antworten

200 Erfolgreiche Antwort

application/json

object

mailbox_idUnbedingt
Option 1

integer

Option 2

null

session_idUnbedingt

string

Unbekannte Felder werden nicht akzeptiert.

403 Anfragefehler

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array-Elemente

object

404 Anfragefehler

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array-Elemente

object

409 Anfragefehler

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array-Elemente

object

410 Anfragefehler

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array-Elemente

object

422 Anfragefehler

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array-Elemente

object

429 Anfragefehler

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array-Elemente

object

503 Anfragefehler

application/json

object

detail
Option 1

string

Option 2

object

code

string

message

string

Option 3

array

Array-Elemente

object