API-Referenz
Thread abrufen
GET /api/thread/:threadId
GET
/
api
/
thread
/
{threadId}
Thread abrufen
curl --request GET \
--url https://api.events-52grad.de/api/thread/{threadId}import requests
url = "https://api.events-52grad.de/api/thread/{threadId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.events-52grad.de/api/thread/{threadId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.events-52grad.de/api/thread/{threadId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.events-52grad.de/api/thread/{threadId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.events-52grad.de/api/thread/{threadId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.events-52grad.de/api/thread/{threadId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyRequest
GET /api/thread/{threadId}
Authorization: Bearer {API_SECRET}
Parameter
| Parameter | Typ | Beschreibung |
|---|---|---|
threadId | UUID | ID des Threads aus email_threads |
Response (200)
{
"emails": [
{
"id": "uuid",
"message_id": "<abc@ionos.de>",
"direction": "inbound",
"from_address": {"name": "Max Mustermann", "address": "max@example.com"},
"to_addresses": [{"name": "", "address": "team@events-52grad.de"}],
"subject": "Anfrage Hochzeit Juli",
"text_body": "Guten Tag...",
"date": "2026-03-18T10:00:00Z",
"has_attachments": true,
"email_attachments": [
{
"id": "uuid",
"filename": "Einladung.pdf",
"content_type": "application/pdf",
"size_bytes": 245000,
"storage_path": "account-id/email-id/Einladung.pdf"
}
]
},
{
"id": "uuid",
"message_id": "<def@ionos.de>",
"direction": "outbound",
"from_address": {"name": "Events 52 Grad", "address": "team@events-52grad.de"},
"to_addresses": [{"name": "Max Mustermann", "address": "max@example.com"}],
"subject": "Re: Anfrage Hochzeit Juli",
"text_body": "Vielen Dank für Ihre Anfrage...",
"date": "2026-03-18T11:30:00Z",
"has_attachments": false,
"email_attachments": []
}
]
}
⌘I
Thread abrufen
curl --request GET \
--url https://api.events-52grad.de/api/thread/{threadId}import requests
url = "https://api.events-52grad.de/api/thread/{threadId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.events-52grad.de/api/thread/{threadId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.events-52grad.de/api/thread/{threadId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.events-52grad.de/api/thread/{threadId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.events-52grad.de/api/thread/{threadId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.events-52grad.de/api/thread/{threadId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body