Skip to main content
POST
/
boosted-posts
/
count
Count Boosted Posts
curl --request POST \
  --url https://api.boosterberg.com-beta.com/v1/boosted-posts/count \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_id": "987654321",
  "boosted_page_id": 123
}
'
123

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
source_id
integer

ID of a Facebook page or Instagram account

Example:

"987654321"

boosted_page_id
integer

Campaign ID — filter posts by campaign

Response

200 - application/json

Returns number of Boosted Posts Objects

The response is of type integer.