Skip to content

Commit cf6d3e5

Browse files
author
github-actions
committed
Update REST API documentation Sat May 24 13:15:25 UTC 2025
1 parent 7fb9251 commit cf6d3e5

File tree

1 file changed

+63
-12
lines changed

1 file changed

+63
-12
lines changed

restapi.json

Lines changed: 63 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2920,13 +2920,13 @@
29202920
}
29212921
},
29222922
"/subscribers/export": {
2923-
"get": {
2923+
"post": {
29242924
"tags": [
29252925
"subscribers"
29262926
],
29272927
"summary": "Export subscribers",
29282928
"description": "Export subscribers to CSV file.",
2929-
"operationId": "5ba8977d33113a29d089c8eecf8cd869",
2929+
"operationId": "e7c60458efe83e8e5ae96ecb4bf4a5b6",
29302930
"parameters": [
29312931
{
29322932
"name": "session",
@@ -2936,18 +2936,19 @@
29362936
"schema": {
29372937
"type": "string"
29382938
}
2939-
},
2940-
{
2941-
"name": "batch_size",
2942-
"in": "query",
2943-
"description": "Number of subscribers to process in each batch (default: 1000)",
2944-
"required": false,
2945-
"schema": {
2946-
"type": "integer",
2947-
"default": 1000
2948-
}
29492939
}
29502940
],
2941+
"requestBody": {
2942+
"description": "Filter parameters for subscribers to export. ",
2943+
"required": true,
2944+
"content": {
2945+
"application/json": {
2946+
"schema": {
2947+
"$ref": "#/components/schemas/ExportSubscriberRequest"
2948+
}
2949+
}
2950+
}
2951+
},
29512952
"responses": {
29522953
"200": {
29532954
"description": "Success",
@@ -4032,6 +4033,56 @@
40324033
},
40334034
"type": "object"
40344035
},
4036+
"ExportSubscriberRequest": {
4037+
"properties": {
4038+
"date_type": {
4039+
"description": "What date needs to be used for filtering (any, signup, changed, changelog, subscribed)",
4040+
"default": "any",
4041+
"enum": [
4042+
"any",
4043+
"signup",
4044+
"changed",
4045+
"changelog",
4046+
"subscribed"
4047+
]
4048+
},
4049+
"list_id": {
4050+
"description": "List ID from where to export",
4051+
"type": "integer"
4052+
},
4053+
"date_from": {
4054+
"description": "Start date for filtering (format: Y-m-d)",
4055+
"type": "string",
4056+
"format": "date"
4057+
},
4058+
"date_to": {
4059+
"description": "End date for filtering (format: Y-m-d)",
4060+
"type": "string",
4061+
"format": "date"
4062+
},
4063+
"columns": {
4064+
"description": "Columns to include in the export",
4065+
"type": "array",
4066+
"items": {
4067+
"type": "string"
4068+
},
4069+
"default": [
4070+
"id",
4071+
"email",
4072+
"confirmed",
4073+
"blacklisted",
4074+
"bounceCount",
4075+
"createdAt",
4076+
"updatedAt",
4077+
"uniqueId",
4078+
"htmlEmail",
4079+
"disabled",
4080+
"extraData"
4081+
]
4082+
}
4083+
},
4084+
"type": "object"
4085+
},
40354086
"SubscriberList": {
40364087
"properties": {
40374088
"id": {

0 commit comments

Comments
 (0)