Authorization: Bearer ********************offline_access-Offline accessopenid-OpenIDprofile-Profileemail-EmailNONE: nobody except the author(s) can accessORGANIZATION: all users in the current user's organization can access (including users created after publication)CONTACTS: everyone in the user's contacts can accessSELECTION: an explicit list of contacts, contact groups and organizations can accesscurl --location 'https://api.belga.press/belgapress/api/newsletters//publishsettings' \
--header 'Authorization: Bearer <token>'{
"contacts": [
{
"id": 0,
"firstName": "string",
"lastName": "string",
"email": "user@example.com",
"contactType": "INTERNAL"
}
],
"groups": [
{
"contactAmount": 0,
"id": 0,
"name": "string"
}
],
"includedOrganizations": [
{
"contactAmount": 0,
"id": 0,
"name": "string",
"type": "INTERNAL"
}
],
"excludeOrganizationGroups": [
{
"id": 0,
"content": {
"nl": {
"name": "string"
},
"fr": {
"name": "string"
},
"en": {
"name": "string"
}
}
}
],
"publishLanguage": "EN",
"publishType": "ORGANIZATION"
}