API referenceCompliance
Add a number to the do-not-contact list
POST
No SMS or call goes to a listed number. Adding a listed number answers its existing entry.
ApiKeyheader
AuthorizationBearer <token>An API key from Developers → API keys: Authorization: Bearer gauge_live_… (or pulse_k_live_…).
Gauge-Version?stringA dated version. Default 2026-10-21.
Idempotency-Key*stringRequired on every POST. Retries with the same key replay the first response for 24 h.
Length
1 <= length <= 255application/json- body
e164*stringMatch
^\+[1-9]\d{6,14}$reason?stringLength
1 <= length <= 200The entry.
application/json- response
id*stringFormat
uuide164*stringreason*string|nullsource*stringValue in
"console""api""import"createdAt*stringcurl -X POST 'https://app.gauge.chat/backend/v2/dnc' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "e164": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "e164": "string", "reason": "string", "source": "console", "createdAt": "string"}Who this key is GET
The key, the member it acts as, the workspace and plan, its scopes, environment and the rate-limit budget left. Any valid key may call it.
Get compliance settings GET
Quiet hours, the transactional exemption and the maximum API call length. Changed in the console (Settings → Compliance).