Skip to content

Fetch the number quality from Meta and store a snapshot (credentials.manage).

POST
/v1/connections/whatsapp/{conn}/quality/sync
curl --request POST \
--url https://api.replifier.com/v1/connections/whatsapp/pcn_01hx0000000000000000000000/quality/sync
conn
required
string
/^pcn_[a-z0-9]{26}$/

Example

pcn_01hx0000000000000000000000

Current quality snapshot

Media typeapplication/json
object
id
required
string
qualityRating
required
string
Allowed values: GREEN YELLOW RED UNKNOWN
messagingLimitTier
required
string
dailyLimit
required
number
nullable
numberStatus
required
string
nullable
fetchedAt
required
string

Example

{
"qualityRating": "GREEN"
}

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"
}
}

Service temporarily unavailable

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"
}
}