Anhang herunterladen
GET
/v1/mailboxes/{mailbox_id}/messages/{uid}/attachments/{index}Für DOC, XLS, XLSX, PPT, PPTX und ODT preview=pdf zur Inhaltsanfrage für Dateien oder Anhänge hinzufügen. Maximal 10 Konvertierungen pro Minute und Postfach.
Berechtigungs- und Zugangsbereiche · Fehler und Wiederholungen
Anfrage
curl -X GET 'https://adapt-mail.com/v1/mailboxes/<mailbox_id>/messages/<uid>/attachments/<index>?uidvalidity=<uidvalidity>' \ -H 'Authorization: Bearer <access_token>'Optionen
mailbox_idpathUnbedingtintegeruidpathUnbedingtintegerindexpathUnbedingtintegeruidvalidityqueryUnbedingtintegerfolderquerystringStandard:
"INBOX"X-Customer-IDheader- Option 1
stringOption 2null previewquerystringGültige Werte:
"pdf"
Antworten
200 Erfolgreiche Antwort
application/octet-stream
string · binary
application/pdf
string · binary
401 Anmeldung erforderlich
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
403 Kein Zugriff
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
404 Ressource nicht gefunden
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
409 Staatskonflikt
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject
422 Validierungsfehler
application/json
object
detailarrayArray-ElementeobjectlocUnbedingtarrayArray-ElementeOption 1stringOption 2integermsgUnbedingtstringtypeUnbedingtstring
503 Vorübergehende Nichtverfügbarkeit
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayArray-Elementeobject