POST mailinglists
POST
/mailinglistsAuthorizationBearer <token>
Paste your JWT token here
In: header
The DTO containing the provider list to curate and its visibility.
providerListIdstring
The mail subscription provider's identifier for the list to curate (e.g. a Mailchimp interest ID).
visibilitystring
Controls where a curated mailing list is shown to members. General lists appear everywhere (registration, account settings, the yearly renewal page); YearlyRenewalOnly lists appear only on the yearly study-renewal page, alongside the General lists.
Format
int32Value in
"General" | "YearlyRenewalOnly"Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://loading/mailinglists" \ -H "Content-Type: application/json" \ -d '{ "providerListId": "string", "visibility": "General" }'{
"id": 0,
"providerListId": "string",
"name": "string",
"visibility": "General",
"orphaned": true
}{
"message": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"message": "string"
}