Skip to content
Guides

Delivery Receipts and Replies Your AI Agent Can Read

Explore an SMS API for AI agents that separates send acceptance, delivery receipts and replies, with a booking example and integration checklist.

The Jungle Drum team5 min read
Delivery Receipts and Replies Your AI Agent Can Read

Juniper Research expects network operators' enterprise revenue to reach $426 billion by 2031, with AI, SMS and RCS among the areas shaping that growth (Operator Revenue Strategies 2026–2031). None of that network investment tells your booking agent whether a customer received a text.

An SMS API for AI agents needs to give the agent delivery information and the customer's reply before it changes a booking, closes a support case or sends the next instruction. A successful API call alone cannot confirm an appointment.

Why an accepted send is not a delivery receipt

Your application needs to distinguish three events: acceptance of the send request, a delivery receipt and a customer reply. HTTP 200 or accepted only tells you that the service took the request for processing. It says nothing about delivery to the handset or the customer's agreement.

Event

What the agent can conclude

What it must not assume

Send request accepted

The messaging service accepted the request.

The message reached the customer.

Delivery receipt

The message has a reported delivery outcome.

The customer read or agreed to the message.

Customer reply

The customer sent a response the agent can interpret.

That the response authorises an unrelated or outdated action.

A delivery receipt tells the workflow what happened to the message. The customer's reply carries their instruction. A message API that only sends outbound texts gives the agent neither.

Your application controls the state transitions. Store the request the agent sent, associate later events with the customer and booking, and specify which event permits the next step. Until that event arrives, leave the action pending rather than treating silence as consent.

A booking workflow that waits for YES

Your agent offers a customer an appointment for Tuesday at 2 pm:

  1. The agent sends: “Can you make Tuesday at 2 pm? Reply YES to confirm or suggest another time.”

  2. The send request is accepted. The agent records that it asked, but does not confirm the booking.

  3. A delivery receipt arrives. The agent can update message status, but still does not confirm the booking.

  4. The customer replies YES. The agent matches that reply to the pending offer and only then moves the booking into the confirmed state.

If the customer replies “Thursday instead”, the agent needs to handle a new instruction. A late YES cannot confirm Tuesday after that offer expires or changes. Matching replies to a live offer prevents double-booking and action on stale instructions.

If delivery fails, leave the offer unconfirmed and route the case according to your team's policy. With no receipt, you cannot infer success or failure. A delivered message without a reply still leaves the booking awaiting the customer's decision.

The event you need depends on the job. A one-way operational alert may need a delivery outcome for monitoring; a lead qualification exchange needs the person's answer. Treating accepted, delivered and replied as one status obscures both.

Building an agent that texts customers? Join the waitlist.

How to connect an agent to messaging

Jungle Drum is built for AI agents and developers, with AI-native and traditional integration options. Your AI sends the message itself through the route that fits your stack. Your application then reads delivery receipts and replies before it decides what to do next. For an MCP build, see Jungle Drum's MCP server for SMS.

Integration

Where it fits in an agent build

MCP

An AI-native tool interface for an agent that needs to send messages as part of a task.

CLI

A command-line path for development and scripted workflows.

Editor

An integration path for developers working in their editor.

REST

A direct API path for an application or orchestration service.

SMPP

An option for an existing messaging system built around that protocol.

A conversation API workflow needs more than sending. Jungle Drum supports SMS, RCS, email, chat and voice capabilities, giving teams ways to contact customers beyond a one-way text. Your workflow still needs rules for the channel used, the outcome required and whether a reply applies to the current offer.

Webhooks and event handling

Delivery receipts and replies can be sent to your webhooks. Each webhook from Jungle Drum is signed with HMAC-SHA256 so your receiver can verify that it came from Jungle Drum. Verify the signature before allowing an inbound event to change a booking or trigger another send.

Your receiver should separate delivery outcomes from inbound text and match each event to its pending action. Make state changes safe if the handler encounters the same event again. Send an unrecognised or ambiguous reply for review instead of guessing that it means YES. A transport status cannot supply the customer's intent.

What to test before connecting real customers

Our aim is that you can build and test your message flow before you send live customer messages. Exercise the send, receipt and reply paths before the agent talks to real customers. If your plan includes a dedicated number, see how to get a short code in New Zealand.

Before connecting the agent to customers:

  • Define the exact event that advances each workflow step: acceptance, delivery outcome or a specific customer reply.

  • Connect the agent through MCP, CLI, editor, REST or SMPP according to the system that will own the workflow.

  • Receive receipts and replies at your webhook and verify Jungle Drum's HMAC-SHA256 signature.

  • Match replies to the current pending request; handle changed plans, late replies and ambiguous answers without silently confirming.

  • Test the full loop before going live, including a response that is not YES and a reply to an old offer.

Frequently asked questions

Does an HTTP 200 or accepted response mean the customer got the message?

No. It means the messaging service accepted the request. Wait for a delivery receipt to learn what happened to the message, and for a reply to learn what the customer wants.

What should the agent do if no delivery receipt arrives?

Leave the action pending and follow your team's policy for follow-up. A missing receipt does not prove the message failed or succeeded.

How does my application know a webhook came from Jungle Drum?

Each webhook is signed with HMAC-SHA256. Verify the signature before an inbound event can change a booking or trigger another send.

What if a customer replies to an old message?

Match every reply to the current pending request. If the offer has changed or expired, send the reply for review instead of confirming it.

The practical choice

For an agent that books appointments, handles support or follows up with a lead, the next action depends on a delivery receipt or the customer's reply. HTTP 200 cannot make that decision. Jungle Drum gives teams an agent-readable messaging layer and both AI-native and traditional integration options. Test the send-to-reply loop before letting the agent change a live booking.

Join the waitlist to build your agent's messaging with Jungle Drum.