Skip to main content

Get Bounce Shield threshold

Retrieve the Bounce Shield Monitor bounce rate threshold configured for a campaign. The response returns an integer representing the percentage threshold, for example 10 for 10%, or null if no threshold is set for the campaign.

Request

Endpoint

GET https://api.woodpecker.co/rest/v2/campaigns/{campaign_id}/bounce_shield/threshold

Headers

x-api-key: {YOUR_API_KEY}

For details on how to authenticate your requests, please see the authentication guide.

Parameters

ParameterRequiredTypeDescription
campaign_idYesintegerCampaign ID

Request samples

Retrieve the threshold

curl --request GET \
--url "https://api.woodpecker.co/rest/v2/campaigns/{campaign_id}/bounce_shield/threshold" \
--header "x-api-key: {YOUR_API_KEY}"

Response

Response examples

Request processed successfully.

{
"bounce_rate_threshold": 12
}

Body schema

FieldTypeDescription
bounce_rate_thresholdinteger/nullBounce rate threshold percentage configured for the campaign. Returns null when no threshold is set