Skip to main content

Apple Messages for Business

Apple Messages for Business (AMB) lets customers start a conversation with your business from Apple surfaces such as Apple Maps, Spotlight, Safari, and Siri. The conversation opens in the Messages app, where your team can reply from the unified inbox. AMB is a business channel, not person-to-person iMessage. Customers message an approved business identity; they do not use Orbit to send or receive private iMessages. In Orbit, an AMB agent is the sender identity that connects an Apple Business Register business_id to your tenant. The agent’s approval status and capabilities determine which interactions you can use.

Capability matrix

Apple-specific payloads are not interchangeable with WhatsApp, RCS, or web-chat payloads. Keep each channel’s template and capability checks separate.

Onboarding at a glance

Before you create an agent, complete Apple’s approval process and collect the values Orbit needs:
  1. Apply for approval in Apple Business Register.
  2. Obtain the approved business’s business_id.
  3. Confirm the Messaging Service Provider (MSP) arrangement and msp_id, if you use one.
  4. Obtain the business HMAC secret key. Orbit encrypts the key at rest and only exposes whether a secret is stored.
  5. Create the agent in Messages → Apple or with POST /api/v1/channels/amb/agents.
  6. Wait for the agent status to become approved before routing live conversations.
Follow Apple Messages for Business onboarding for the dashboard wizard, request bodies, status polling, and secret rotation. Agent records and credentials are tenant-scoped; set only the capabilities and business identities your tenant owns.

Create an AMB agent

Register the agent that binds your Apple business_id to this tenant. Pass the business_id Apple issued, the msp_id when you bring your own Messaging Service Provider, the base64 HMAC secret_key, and the capabilities array the agent may use.
A fresh registration returns 201 with the agent record at status: "pending". Keep data.id — the opaque Orbit UUID — because every later call addresses the agent by that id, never by the Apple business_id.

Poll until the agent is approved

Apple clears the agent on their side; Orbit reflects that as status: "approved". Poll the agent (or the list endpoint) with backoff until the transition lands — do not send live traffic against a pending agent.
Known status values are pending (saved, not cleared), approved (cleared for live AMB traffic), and suspended (taken down — repair or re-register before the next send). Treat any status regression as out-of-routing-set.

Sending and receiving

Use the unified send surface for an approved agent. A basic AMB message identifies the channel and the Apple business in metadata. The same send ships as a typed messages.send call where the channel string is amb — the per-channel body shape carries businessId in metadata.
For interactive messages, add the appropriate serialized Apple payload to metadata and ensure the agent capability is enabled. Orbit exposes the AMB agent lifecycle at /api/v1/channels/amb/agents; Apple delivers inbound events to the public /api/v1/channels/amb/webhook, where the registered agent secret authenticates the event. Inbound messages and interaction results are persisted as AMB conversations and appear in the unified inbox. Use the Inbox setup guide to configure routing, assignments, macros, and SLAs for the apple_messages channel.

Rich interaction payloads

When the agent carries the interactive, form, or timePicker capability, send the matching Apple payload as a serialized JSON string in metadata. Each send is a normal unified send with channel: "amb" and a msgType of interactive; the picker/form/timer shape travels in its *Json metadata key. The customer’s tap returns through your registered AMB webhook as an inbound message.received event carrying structured interactiveData.

List picker

Send a list picker so the customer can tap one item from sections. Store the picker JSON as a template string, not a hand-pasted body per send.
The customer’s tap arrives on your AMB webhook as message.received with the picked identifier in interactiveData:
The identifier is the join key into your catalog and the cart merge below — use your canonical SKU, never a display label.

Form

Send an Apple dynamic form when the agent has form enabled.
The submitted values arrive on the webhook keyed by each field’s identifier:

Time picker

Send a time picker when the agent has timePicker enabled, with an event and at least one timeslot.
The chosen timeslot arrives as the slot identifier:
A send missing the matching *Json metadata key is rejected with 422 naming the key — fix the template and resend; nothing queues.

Commerce checkout

Use an AMB list picker or form to collect a product or appointment choice, then merge the result into the shared commerce cart. The AMB checkout resolver can return a native Apple Pay request when the agent has applePay enabled and the merchant identifier is configured. Otherwise, send the hosted checkout link in the conversation. Reconcile the payment server-side before marking the order paid.

Resolve an AMB checkout

Call the AMB checkout resolver with the order line items and the Apple Pay configuration. When both applePayEnabled and merchantIdentifier are set, the response is method: "native" and carries the Apple Pay sheet payload; otherwise it degrades to method: "hosted" with a pay-by-link.
The response carries both branches so a native failure can fall back without a second call:
When method is "native", present the native Apple Pay request in the thread — the customer authorizes with Face ID and your payment service receives a token addressed to it. When the agent lacks applePay or the merchantIdentifier is unset, method is "hosted" and native is null; send hosted.url (or the pre-rendered hosted.body) into the thread instead. Both paths reconcile against the same paymentRequest, so which one the customer completed does not fork your order logic. Follow AMB commerce: interactive flows and Apple Pay checkout for the payloads, cart merge, token capture, reconciliation, and the decline-and-retry loop.

Limitations

  • Apple approval is required. Orbit cannot approve a business or bypass Apple’s Business Register review. An agent remains pending until it is cleared for live traffic.
  • Availability follows Apple. AMB entry points, Apple Pay eligibility, and supported features vary by Apple policy, merchant setup, device, and geography. Confirm availability for the markets and capabilities you plan to serve.
  • Conversations are customer-initiated. Start with an Apple entry point or an existing customer thread; do not treat AMB as an unrestricted outbound broadcast channel.
  • Capabilities are agent-specific. Rich interactions and Apple Pay require the corresponding capability and, for native payment, a merchant identifier. Unsupported or malformed Apple payloads are rejected rather than rendered by another channel.
  • A valid secret is required for routing. Rotating or deleting an agent changes webhook verification or routing for that Apple business.