Phone system & SMS

Add to do-not-call list

Puts the number on the do-not-call list: it's never added to call lists again and is written to the blocklist address of the connected call centres. Without phone the contact's, then the company's phone is used. Returns message, e164, synced (connection → written; failures are retried by the scheduler). Removing a number is web-only, for admins.

POST/api/v1/tel/do-not-call

Authorization

Authorizationheaderrequired
Bearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Module: CustomersScope: crm.write

Body application/json

phonestringoptional
Number.
contact_idintegeroptional
Contact.
customer_idintegeroptional
Company.
notestringoptional
Note.

Errors

HTTPerrorMeaning
400phonephone
404not_foundRecord not found.
403planplan
403moduleThe module is off in the licence or for the user.
Request
curl -X POST https://ornek.solk.app/api/v1/tel/do-not-call \
  -H "Authorization: Bearer $SOLK_API_KEY"
Response