PostMantis
API ReferencePosts

List posts

Returns posts visible to the authenticated caller, with optional filtering by status, profile, provider, and scheduled date range. Supports paginated iteration.

GET
/api/v1/posts

Returns posts visible to the authenticated caller, with optional filtering by status, profile, provider, and scheduled date range. Supports paginated iteration.

Authorization

BearerAuth
AuthorizationBearer <token>

PostMantis API key from the dashboard. Include as Authorization: Bearer <key>.

In: header

Query Parameters

status?string
Value in"pending" | "settled" | "canceled" | "scheduled"
profileIds?array<>
providers?array<>
scheduledAfter?string
Formatdate-time
scheduledBefore?string
Formatdate-time
page?|
Default0
Range0 <= value
perPage?integer
Default20
Range1 <= value <= 100

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://loading/api/v1/posts"
{  "data": {    "data": [      {        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",        "body": "Ship small. Learn fast.",        "status": "settled",        "createdAt": "2026-05-05T10:00:00.000Z",        "updatedAt": "2026-05-05T10:00:00.000Z",        "media": [],        "deliveries": [          {            "profileId": "4339a6bc-9cd3-455e-8f91-df8bc63f12d7",            "provider": "x",            "profileName": "PostMantis on X",            "status": "published",            "publishedAt": "2026-05-05T10:01:00.000Z",            "providerPostId": "1234567890",            "url": "https://x.com/postmantis/status/1234567890",            "providerOptions": {}          }        ]      }    ],    "pagination": {      "page": 0,      "perPage": 20,      "total": 1    }  }}
{  "type": "https://postmantis.com/problems/unauthorized",  "title": "Unauthorized",  "status": 401,  "detail": "Authentication required.",  "code": "unauthorized"}
{  "type": "https://postmantis.com/problems/rate-limited",  "title": "Too many requests",  "status": 429,  "detail": "Too many requests.",  "code": "rateLimited"}