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

Authorizations

Authorization
string
header
required

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

Body

application/json
status
enum<string>
default:all
Available options:
all,
active
platform
enum<string>
default:all
Available options:
all,
facebook,
instagram
source_id
integer

ID of a Facebook page or Instagram account

Example:

"987654321"

boosted_post_id
integer

ID of a Boosted Post. Use this when you want to list all campaigns were this Post is boosted

Example:

"987654321"

Response

200 - application/json

Returns number of Boosted Pages Objects

The response is of type integer.