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.
At a glance
| Method and path | POST /api/v1/front-desk/send |
|---|---|
| Required | phone, moment |
| Optional | name (used when the number is new) |
| Moments | welcome, thank_you, review, come_back, rate_visit |
| Needs | An 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
welcomegreets a new customer.thank_youthanks them after a visit or purchase.reviewasks for feedback with the review link from Front Desk settings; it fails until that link is set.come_backre-invites someone you have not seen in a while; its template is promotional.rate_visitasks 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.
Questions
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.
See it on your own number
Two minutes to connect, 7 days free, no card. Your AI employee answers, books and follows up on the WhatsApp number your customers already use.