Link gegen eine Sitzung eintauschen
/v1/auth/login-link/consumeNur 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
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
tokenUnbedingtstringpattern: "^[A-Za-z0-9_-]{43}$"
Unbekannte Felder werden nicht akzeptiert.
Antworten
200 Erfolgreiche Antwort
application/json
object
mailbox_idUnbedingt- Option 1
integerOption 2null session_idUnbedingtstring
Unbekannte Felder werden nicht akzeptiert.
403 Anfragefehler
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
404 Anfragefehler
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
409 Anfragefehler
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
410 Anfragefehler
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
422 Anfragefehler
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
429 Anfragefehler
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
503 Anfragefehler
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject