Effects
- iMessage
Send a text with a bubble or full-screen animation
An effect is an animation Messages plays with a text, such as confetti across the screen. Add effect beside the text. It goes only into a conversation the person has written in, or a group chat.
Send an effect
curl -X POST https://api.mapier.ai/v1/commands/message.send \
-H "Authorization: Bearer $MAPIER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: booking-2481-confirmed" \
-H "x-mapier-version: 2026-12-01" \
-d '{
"target": { "conversationId": "a0000000-0000-4000-8000-000000000001" },
"payload": { "kind": "text", "text": "Your table is confirmed!", "effect": "impact" }
}'The effects
Four animate the bubble:
| Effect | What the person sees |
|---|---|
impact | The bubble slams into the conversation. |
loud | The bubble swells, shakes, then settles back. |
gentle | The bubble arrives small, then eases up to normal size. |
invisibleink | The bubble hides under shifting static until the person swipes it. |
Eight take over the screen:
| Effect | What the person sees |
|---|---|
confetti | Confetti falls across the conversation. |
lasers | Laser beams sweep the screen. |
fireworks | Fireworks burst over a darkened screen. |
balloons | Balloons rise up the screen. |
spotlight | The screen dims and a spotlight picks out the message. |
echo | The message multiplies across the screen. |
love | A big heart swells out of the message, then floats up. |
celebration | The screen goes dark and golden sparks pour in. |
sparkles is a second name for celebration. The names are Apple's, and do not always match the Messages picker: impact is the one shown as "Slam". Any other name is refused.
Not everyone sees the animation
People on iPhone, iPad, Mac and Apple Watch see the effect. Someone reading over SMS or RCS, or on another device, gets only the text, and so does a person who turned off auto-playing message effects. The result is still succeeded, and nothing says whether the animation played. Write the message so it makes sense without it.
What a line cannot carry
A line whose channel has no effects refuses effect with 422 validation_failed at payload.effect, and nothing is sent. Send options.degrade: "adapt" to send the text without the effect instead.
Errors you may see
| Error | Means | Fix |
|---|---|---|
422 validation_failed | The name is not one of the effects | Pick one from the tables above |
422 validation_failed, conversation_not_confirmed | The person has not written in this conversation yet | Send a plain text first |