Update the brand auto-pause thresholds (deliverability.manage)
PATCH
/v1/brands/{brand}/deliverability-thresholds
const url = 'https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/deliverability-thresholds';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"unknownCap":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/deliverability-thresholds \ --header 'Content-Type: application/json' \ --data '{ "unknownCap": 1 }'unknownCap: how many sends without provider confirmation (5 to 1,000; 50 by default) pause the campaign. Applies to subsequent sends; it is recorded in the audit log with the previous and new values.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”brand
required
string
Example
brd_01hx0000000000000000000000Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
unknownCap
required
integer
Example generated
{ "unknownCap": 1}Responses
Section titled “Responses”Thresholds
Media typeapplication/json
object
unknownCap
required
number
defaultUnknownCap
required
number
Example generated
{ "unknownCap": 1, "defaultUnknownCap": 1}Invalid data
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}