List suppressed messages
curl --request GET \
--url https://coreapi.io/api/tenant/suppressed-messages \
--header 'Authorization: Bearer <token>'import requests
url = "https://coreapi.io/api/tenant/suppressed-messages"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://coreapi.io/api/tenant/suppressed-messages', 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://coreapi.io/api/tenant/suppressed-messages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channel": "email",
"reason": "migration_tenant",
"type": "invoice.finalized",
"recipient": "kunde@kunde.example",
"subject": "Rechnung RE-1001",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"meta": {},
"pagination": {}
}{
"status": 123,
"type": "ORGANISATION__NOT_FOUND",
"title": "<string>",
"detail": "<string>",
"requestId": "<string>"
}{
"status": 422,
"violations": [
{
"propertyPath": "username",
"message": "<string>",
"code": "ORGANISATION__USERNAME_INVALID"
}
],
"type": "<string>",
"title": "<string>",
"detail": "<string>",
"requestId": "<string>"
}Zurückgehaltene Nachrichten
List suppressed messages
Returns the mails, letters, SMS and webhooks this environment did not send, newest first. A Migration environment sends nothing; a Sandbox sends mail only to members and allowed domains. Nothing in this list is sent later. Requires the permissions suppressed-message:read and email:read.
Accepts the API token of the environment as well as the token of a person signed in to the app.
GET
/
api
/
tenant
/
suppressed-messages
List suppressed messages
curl --request GET \
--url https://coreapi.io/api/tenant/suppressed-messages \
--header 'Authorization: Bearer <token>'import requests
url = "https://coreapi.io/api/tenant/suppressed-messages"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://coreapi.io/api/tenant/suppressed-messages', 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://coreapi.io/api/tenant/suppressed-messages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channel": "email",
"reason": "migration_tenant",
"type": "invoice.finalized",
"recipient": "kunde@kunde.example",
"subject": "Rechnung RE-1001",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"meta": {},
"pagination": {}
}{
"status": 123,
"type": "ORGANISATION__NOT_FOUND",
"title": "<string>",
"detail": "<string>",
"requestId": "<string>"
}{
"status": 422,
"violations": [
{
"propertyPath": "username",
"message": "<string>",
"code": "ORGANISATION__USERNAME_INVALID"
}
],
"type": "<string>",
"title": "<string>",
"detail": "<string>",
"requestId": "<string>"
}Autorisierungen
ApiTokenSignedInUser
Header
Abfrageparameter
War diese Seite hilfreich?