Skip to content

Operation

Simon Rolph edited this page Jan 16, 2025 · 2 revisions

Getting subscribers

Use the /api/lists/ end point

Including unsubscribe/feedback links within generated content

When generating content in your targets pipeline, each item needs to have a complex (non sequential) content_item_id. So if the content_item_id was 58EUGNFUENR5JGURNFUEWHF47R7, the unsubscribe link will be /unsubscribe/58EUGNFUENR5JGURNFUEWHF47R7 and submit feedback will be at /submit_feedback/58EUGNFUENR5JGURNFUEWHF47R7. This links it to an item (which you will create in the database when you log the email).

Logging emails on dispatch

The content_item_id along with the user external_key and content_item_path is used to then log the item dispatch on the api/item POST endoint.