Endpoints
SMS
Session-authenticated SMS number, review-request, consent, and delivery status endpoints.
GET
SMS endpoints are dashboard endpoints. They use the signed-in app session, not
To search available numbers, use
X-NearIQ-Key. SMS actions require a Growth plan or higher, available monthly SMS allowance, and proper customer consent before sending messages.
GET /api/sms
Returns SMS configuration status and the active business SMS number.action=search.
POST /api/sms
Runs one SMS action: provision a number, send a review request, or release the active number.Provision a number
Send a review request
Release a number
SMS consent
Consent contacts are managed through dashboard business endpoints. SMS consent rows track phone number, consent source, consent timestamp, and opt-out state so review requests, reminders, and conversations can respect customer preferences.Errors
| Status | Meaning |
|---|---|
400 | Missing action fields, no SMS number, or duplicate number |
401 | Missing dashboard session |
403 | Plan does not include SMS or monthly allowance is exhausted |
404 | No active business found |
409 | Business already has an SMS number |
503 | SMS is not configured |