Skip to content

Commit cef6b9f

Browse files
author
github-actions
committed
Update REST API documentation Wed Jun 3 09:44:36 UTC 2026
1 parent b8aa782 commit cef6b9f

1 file changed

Lines changed: 110 additions & 0 deletions

File tree

restapi.json

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5148,6 +5148,92 @@
51485148
}
51495149
}
51505150
},
5151+
"/api/v2/subscribe-pages/{id}/lists/{listId}/subscribers": {
5152+
"post": {
5153+
"tags": [
5154+
"subscriptions"
5155+
],
5156+
"summary": "Create subscription",
5157+
"description": "🚧 **Status: Beta** – This method is under development. Avoid using in production.Subscribe subscriber to a list from subscribe page.",
5158+
"operationId": "764d299822f5efc74556ea96ba2cbfb4",
5159+
"parameters": [
5160+
{
5161+
"name": "listId",
5162+
"in": "path",
5163+
"description": "List ID",
5164+
"required": true,
5165+
"schema": {
5166+
"type": "string"
5167+
}
5168+
},
5169+
{
5170+
"name": "id",
5171+
"in": "path",
5172+
"description": "Subscribe page ID",
5173+
"required": true,
5174+
"schema": {
5175+
"type": "integer"
5176+
}
5177+
}
5178+
],
5179+
"requestBody": {
5180+
"description": "",
5181+
"required": true,
5182+
"content": {
5183+
"application/json": {
5184+
"schema": {
5185+
"$ref": "#/components/schemas/PublicSubscriptionRequest"
5186+
}
5187+
}
5188+
}
5189+
},
5190+
"responses": {
5191+
"201": {
5192+
"description": "Success",
5193+
"content": {
5194+
"application/json": {
5195+
"schema": {
5196+
"type": "array",
5197+
"items": {
5198+
"$ref": "#/components/schemas/Subscription"
5199+
}
5200+
}
5201+
}
5202+
}
5203+
},
5204+
"400": {
5205+
"description": "Failure",
5206+
"content": {
5207+
"application/json": {
5208+
"schema": {
5209+
"$ref": "#/components/schemas/BadRequestResponse"
5210+
}
5211+
}
5212+
}
5213+
},
5214+
"404": {
5215+
"description": "Failure",
5216+
"content": {
5217+
"application/json": {
5218+
"schema": {
5219+
"$ref": "#/components/schemas/NotFoundErrorResponse"
5220+
}
5221+
}
5222+
}
5223+
},
5224+
"422": {
5225+
"description": "Failure",
5226+
"content": {
5227+
"application/json": {
5228+
"schema": {
5229+
"$ref": "#/components/schemas/ValidationErrorResponse"
5230+
}
5231+
}
5232+
}
5233+
}
5234+
}
5235+
}
5236+
},
51515237
"/api/v2/attributes": {
51525238
"get": {
51535239
"tags": [
@@ -8313,6 +8399,30 @@
83138399
},
83148400
"type": "object"
83158401
},
8402+
"PublicSubscriptionRequest": {
8403+
"properties": {
8404+
"email": {
8405+
"type": "string",
8406+
"format": "email",
8407+
"example": "lia@example.com"
8408+
},
8409+
"confirmEmail": {
8410+
"type": "string",
8411+
"format": "email",
8412+
"example": "lia@example.com"
8413+
},
8414+
"attributes": {
8415+
"type": "object",
8416+
"example": {
8417+
"firstname": "John",
8418+
"lastname": "Grigoryan",
8419+
"country": "Armenia"
8420+
},
8421+
"additionalProperties": true
8422+
}
8423+
},
8424+
"type": "object"
8425+
},
83168426
"SubscriberAttributeDefinitionRequest": {
83178427
"required": [
83188428
"name"

0 commit comments

Comments
 (0)