antworkDOCS

Listing posts

Every post you own, newest first, one page at a time.

GEThttps://antwork.io/api/v1/postsScoperead

Request

GET /api/v1/posts is the recovery path: the only other way to reach a post is an id the create call returned once. Newest first, across every workspace you own. Optional status filter (one of the four above), limit from 1 to 100 (default 25), and cursor from the previous page's nextCursor. A null nextCursor means there are no more.

curl "https://antwork.io/api/v1/posts?status=scheduled&limit=25" \
  -H "Authorization: Bearer $ANTWORK_API_KEY"

Response

200 OK
{
  "object": "list",
  "posts": [ ... ],
  "nextCursor": "MTc5MDA3..."
}