Skip to content

Commit 1b7e4d6

Browse files
author
github-actions
committed
Update REST API documentation Mon Apr 6 14:22:26 UTC 2026
1 parent 6c17acc commit 1b7e4d6

1 file changed

Lines changed: 101 additions & 0 deletions

File tree

restapi.json

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1850,6 +1850,79 @@
18501850
}
18511851
}
18521852
},
1853+
"/api/v2/campaigns/{messageId}/test-send": {
1854+
"post": {
1855+
"tags": [
1856+
"campaigns"
1857+
],
1858+
"summary": "Processes/sends campaign/message by id to specified subscribers.",
1859+
"description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Processes/sends campaign/message by id to specified subscribers.",
1860+
"operationId": "6503953d7fcf631b0582053a57d2f2a8",
1861+
"parameters": [
1862+
{
1863+
"name": "php-auth-pw",
1864+
"in": "header",
1865+
"description": "Session key obtained from login",
1866+
"required": true,
1867+
"schema": {
1868+
"type": "string"
1869+
}
1870+
},
1871+
{
1872+
"name": "messageId",
1873+
"in": "path",
1874+
"description": "message ID",
1875+
"required": true,
1876+
"schema": {
1877+
"type": "string"
1878+
}
1879+
}
1880+
],
1881+
"requestBody": {
1882+
"description": "Subscribers email to send this campaign to.",
1883+
"required": true,
1884+
"content": {
1885+
"application/json": {
1886+
"schema": {
1887+
"$ref": "#/components/schemas/ResendMessageToListsRequest"
1888+
}
1889+
}
1890+
}
1891+
},
1892+
"responses": {
1893+
"200": {
1894+
"description": "Success",
1895+
"content": {
1896+
"application/json": {
1897+
"schema": {
1898+
"$ref": "#/components/schemas/Message"
1899+
}
1900+
}
1901+
}
1902+
},
1903+
"403": {
1904+
"description": "Failure",
1905+
"content": {
1906+
"application/json": {
1907+
"schema": {
1908+
"$ref": "#/components/schemas/UnauthorizedResponse"
1909+
}
1910+
}
1911+
}
1912+
},
1913+
"404": {
1914+
"description": "Failure",
1915+
"content": {
1916+
"application/json": {
1917+
"schema": {
1918+
"$ref": "#/components/schemas/NotFoundErrorResponse"
1919+
}
1920+
}
1921+
}
1922+
}
1923+
}
1924+
}
1925+
},
18531926
"/api/v2/campaigns": {
18541927
"get": {
18551928
"tags": [
@@ -6836,6 +6909,14 @@
68366909
"properties": {
68376910
"status": {
68386911
"type": "string",
6912+
"enum": [
6913+
"draft",
6914+
"sent",
6915+
"prepared",
6916+
"submitted",
6917+
"suspended",
6918+
"requeued"
6919+
],
68396920
"example": "draft"
68406921
}
68416922
},
@@ -6917,6 +6998,26 @@
69176998
},
69186999
"type": "object"
69197000
},
7001+
"TestSendMessageToSubscribersRequest": {
7002+
"required": [
7003+
"emails"
7004+
],
7005+
"properties": {
7006+
"emails": {
7007+
"description": "Target subscribers emails.",
7008+
"type": "array",
7009+
"items": {
7010+
"type": "string",
7011+
"format": "email"
7012+
},
7013+
"example": [
7014+
"user1@example.com",
7015+
"user2@example.com"
7016+
]
7017+
}
7018+
},
7019+
"type": "object"
7020+
},
69207021
"BounceRegex": {
69217022
"properties": {
69227023
"id": {

0 commit comments

Comments
 (0)