API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

POST /v1/newsletter/lists/{id}/sync-crm

POST/v1/newsletter/lists/{id}/sync-crm

Sync CRM contacts to a newsletter list based on tags/filters

Request Body

NameTypBeschreibung
tagsstring[]
partyTypesstring[]

Pfad-Parameter

NameTypBeschreibung
iderforderlichstring

Beispiel

curl -X POST https://api.codemeta-os.de/v1/newsletter/lists/{id}/sync-crm \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "tags": [],
  "partyTypes": []
}'
const result = await cm.newsletter.post({
  "tags": [],
  "partyTypes": []
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche