Skip to content

Commit 468f7d9

Browse files
author
github-actions
committed
Update REST API documentation Tue Feb 10 09:37:22 UTC 2026
1 parent 66423e7 commit 468f7d9

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

restapi.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,47 @@
12431243
}
12441244
}
12451245
},
1246+
"/api/v2/attachments/download/{id}": {
1247+
"get": {
1248+
"tags": [
1249+
"attachments"
1250+
],
1251+
"summary": "Download attachment",
1252+
"description": "Download an attachment by ID. `uid` query parameter is required.",
1253+
"operationId": "adf9081332610a149939c162b95e5286",
1254+
"parameters": [
1255+
{
1256+
"name": "id",
1257+
"in": "path",
1258+
"description": "Attachment ID",
1259+
"required": true,
1260+
"schema": {
1261+
"type": "integer"
1262+
}
1263+
},
1264+
{
1265+
"name": "uid",
1266+
"in": "query",
1267+
"description": "Download token (subscriber email or word \"forwarded\")",
1268+
"required": true,
1269+
"schema": {
1270+
"type": "string"
1271+
}
1272+
}
1273+
],
1274+
"responses": {
1275+
"200": {
1276+
"description": "File stream"
1277+
},
1278+
"403": {
1279+
"description": "Unauthorized"
1280+
},
1281+
"404": {
1282+
"description": "Not found"
1283+
}
1284+
}
1285+
}
1286+
},
12461287
"/api/v2/bounces/regex": {
12471288
"get": {
12481289
"tags": [
@@ -7136,6 +7177,10 @@
71367177
"name": "sessions",
71377178
"description": "sessions"
71387179
},
7180+
{
7181+
"name": "attachments",
7182+
"description": "attachments"
7183+
},
71397184
{
71407185
"name": "bounces",
71417186
"description": "bounces"

0 commit comments

Comments
 (0)