Count the posts a list filter matches

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-posts-count"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/510e495d-d64d-4369-b966-e4f0c85fbabc/social-card.svg?v=3e7ae33eec8b" alt="Count the posts a list filter matches" width="600" height="315"></a>
GET http://localhost:4000/api/v1/posts/count

Parameters

from
string
query
to
string
query
status
string[]
query
channelId
string
query
channelIds
string[]
query
tagId
string
query
clientId
string
query
type
string
query
post | reel | story | short | poll | article
authorId
string
query
campaignId
string
query
awaitingApproverId
string
query
hasComments
boolean
query
fieldId
string
query
fieldValue
string
query

Code samples

cURL
curl -X GET "http://localhost:4000/api/v1/posts/count" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "total": 0
}
Schema
total
number
required
Updated