Langkau ke kandungan
GrowSocmedDokumentasiSocial media command center

Count posts by status

Number of posts in each status

GET
/posts/counts

Number of posts in each status

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Response Body

OK

application/json
  1. response
counts*
scheduled*number
Example Request
curl -X GET 'https://socmed.growpaces.com/api/v1/posts/counts'
Example Response200
{  "counts": {    "property1": 0,    "property2": 0  },  "scheduled": 0}