Skip to main content
DELETE
/
do-not-call
/
{id}
Remove a phone number from the DNC list
curl --request DELETE \
  --url https://api.goyappr.com/do-not-call/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.goyappr.com/llms.txt

Use this file to discover all available pages before exploring further.

Remove an entry from your company’s Do-Not-Call list. After deletion, outbound calls to this number proceed normally — the number can be re-added later with POST /do-not-call. Required scope: do_not_call:manage.

Example request

curl -X DELETE "https://api.goyappr.com/do-not-call/8c0e0f8a-1c11-4d3a-9a02-2b1e9d2f0001" \
  -H "Authorization: Bearer $YAPPR_API_KEY"

Example response

{ "success": true }

Errors

HTTPCodeWhen
401INSUFFICIENT_SCOPEAPI key lacks do_not_call:manage.
404The id does not exist or belongs to a different company.

Authorizations

Authorization
string
header
required

Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys.

Path Parameters

id
string<uuid>
required

Response

Removed

success
boolean