Skip to main content
GET
/
dnc
/
check
Check DNC status
curl --request GET \
  --url https://api-message.nativehub.live/api/v1/dnc/check \
  --header 'Authorization: Bearer <token>'
{
  "is_blocked": true,
  "entry": {
    "id": "b4c5d6e7-f8a9-0123-bc45-678901234567",
    "tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "phone_number": "+8801812345678",
    "reason": "User opt-out request",
    "created_at": "2026-02-10T11:20:00Z"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

phone
string
required

Phone number to check

Response

200 - application/json

DNC status retrieved

is_blocked
boolean
entry
object
Example:
{
"id": "b4c5d6e7-f8a9-0123-bc45-678901234567",
"tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"phone_number": "+8801812345678",
"reason": "User opt-out request",
"created_at": "2026-02-10T11:20:00Z"
}