A valid request URL is required to generate request examples{
"posts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"title": "<string>",
"body_markdown": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"public": true,
"read": true,
"read_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}My changelog
The published posts this contact is in the audience for, newest first, each with whether they have read it.
This is the read that honours the targeting, because here there is a reader: the session proved who this is, rather than a caller naming them. An anonymous session is not a special case — it belongs to nobody and no segment, so it sees exactly what the public page shows, which is the right answer for a widget running on a landing page.
It needs a verified session, and the reason is the targeting itself: an unverified identified session is an assertion anybody who knows an external_id can make from a browser, and this endpoint’s answer differs by segment membership. Ungated, “does this external_id see the enterprise beta post” is “is this person in the enterprise beta segment” — the oracle the public document is shaped to avoid, reached through the other door.
Bounded to the 100 most recent posts.
A valid request URL is required to generate request examples{
"posts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"title": "<string>",
"body_markdown": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"public": true,
"read": true,
"read_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}