Foxli
Log inStart free
API reference / posts

List posts

GET/v1/postsPermission posts:read

Returns paginated list of posts in the workspace, with optional status and channel filtering.

Headers
AuthorizationstringREQUIRED

Bearer followed by your API key.

Foxli-Workspacestring

Target workspace ID. Required if account owns or admins more than one workspace.

Query parameters
workspace_idstring

Alternative way to pass workspace ID.

statusstring
channel_idstring
fromstring
tostring
tagstring
limitinteger

Max number of items to return (max 50, default 20).

cursorstring

Pagination cursor string from previous response.

Errors
400workspace_requiredInvalid request parameters or missing workspace context.
401invalid_api_keyMissing, invalid, or revoked API key.
curl https://api.foxli.app/v1/posts \
  -H "Authorization: Bearer $FOXLI_API_KEY" \
  -H "Foxli-Workspace: ws_brand_primary"
Response200 OK
{
  "success": true
}

Build on Foxli.

Publish posts, sync social channels, stream analytics, and get instant webhooks.

No card for month one · Cancel anytime