Skip to content
Developers

Send a Front Desk moment

POST /api/v1/front-desk/send sends one of the Front Desk counter messages, such as welcome, thank_you or review, to a customer by phone number. You name the moment instead of a template: iChatUp sends it as a plain message when the customer wrote within the last 24 hours, and as the matching approved template otherwise. Unknown numbers are added as contacts.

Dikemas kini 22 November 2026 · oleh Rahil · Markdown

Sepintas lalu

Method and pathPOST /api/v1/front-desk/send
Requiredphone, moment
Optionalname (used when the number is new)
Momentswelcome, thank_you, review, come_back, rate_visit
NeedsAn API key; Front Desk templates approved for sends outside the window

Request and response

curl -X POST https://ichatup.com/api/v1/front-desk/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"phone": "+919876543210", "moment": "thank_you", "name": "Asha"}'
HTTP/1.1 202 Accepted
{
  "id": 77104,
  "status": "accepted",
  "via": "template",
  "to": "+919876543210"
}

via is text when it went as a plain in-window message and template when the approved template was used. The response also carries cost and currency, as iChatUp records them for that send.

The moments

  • welcome greets a new customer.
  • thank_you thanks them after a visit or purchase.
  • review asks for feedback with the review link from Front Desk settings; it fails until that link is set.
  • come_back re-invites someone you have not seen in a while; its template is promotional.
  • rate_visit asks how the visit went. Happy answers get your review link, unhappy ones reach you privately.

The customer’s name and your business name are filled in automatically.

When it fails

A 422 answer carries the reason in error: an unknown moment name, a number that is not valid, a customer who asked to stop receiving messages, or a missing review link. The Front Desk itself, with its counter console and forms, is described on the Front Desk use case.

Soalan lazim

Does this work without the official WhatsApp connection?

Yes. On a QR-connected number the moment goes as a plain message, because that connection has no 24-hour template rule.

What happens with a number iChatUp has never seen?

The person is added as a contact opted in through the API, using the name you sent if any, and then the moment is sent.

Cuba pada nombor anda sendiri

Dua minit untuk sambung, 7 hari percuma, tanpa kad. Pekerja AI anda menjawab, membuat tempahan dan membuat susulan di nombor WhatsApp yang sudah digunakan pelanggan anda.