Direct Send lets you send business-initiated utility and authentication messages on the Cloud API without creating a template first. You post a normal /messages request and add a category field set to utility or authentication. Meta generates and matches a template behind the scenes. Marketing is not covered: a category of marketing returns error 100.
Utility is generally available to business portfolios with a messaging limit of 100,000 or unlimited. Authentication is still in early access, and Meta’s own pages disagree on whether that is alpha or beta. How the classic flow works is in create a message template with the API.
What Direct Send covers, and for whom
Meta’s changelog (accessed 2026-11-24) traces the feature in five entries:
| Date | Change, in Meta’s words |
|---|---|
| Jun 15, 2026 | Open beta documented: “send business-initiated utility and authentication messages without pre-creating templates” |
| Jul 31, 2026 | “Direct Send utility messaging is now generally available. Authentication messaging with Direct Send remains in beta.” |
| Oct 8, 2026 | Portfolios “with a messaging limit of 100,000 or unlimited are now generally eligible for Direct Send utility messaging” |
| Oct 14, 2026 | Interactive OTP support: copy code, plus one-tap and zero-tap “with copy code fallback on ineligible devices” |
| Oct 15, 2026 | Direct Send messages “are subject to business portfolio pacing”, reported “through status messages webhooks” |
The Direct Send overview (accessed 2026-11-24) calls it “a premium solution for businesses that meet the prerequisites”. It labels authentication as alpha and asks interested businesses to “express your interest” through a form. The July changelog entry says beta. Treat authentication as gated until Meta confirms access for your portfolio.
For utility, the messaging limit is the only eligibility condition Meta documents. It publishes no full list of prerequisites and no list of countries. If you are not sure where your portfolio stands, messaging limits and quality rating shows how to read the limit.
Send a utility message without a template
The request is a normal Cloud API send with one extra field. This shape comes from Meta’s send utility and authentication messages page (accessed 2026-11-24). Meta’s examples show no Graph API version, so v26.0 is used here.
#!/usr/bin/env bash
# Requires ACCESS_TOKEN, PHONE_NUMBER_ID and TO (recipient phone number) in the environment.
curl -sS -X POST "https://graph.facebook.com/v26.0/${PHONE_NUMBER_ID}/messages" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "${TO}",
"type": "text",
"text": { "body": "Your order 4821 has shipped and should arrive on Thursday." },
"category": "utility",
"ttl_seconds": 600
}
EOF
ttl_seconds and direct_send_config are optional. ttl_seconds sits next to category and sets how long Meta tries to deliver. direct_send_config with a template_name, such as { "template_name": "order_shipment_update" }, asks Meta to create the generated template under your name. Business-named templates are utility only, per the business-named templates page (accessed 2026-11-24). Meta does not document the synchronous response body for a business-named send.
Leaving category out makes the request a service message. Outside the customer service window, that send fails with 131047.
Send an authentication code
Use an interactive message with an otp button when you want a copy code button you control. This is the shape from Meta’s supported message types page (accessed 2026-11-24), with the code in a variable.
#!/usr/bin/env bash
# Requires ACCESS_TOKEN, PHONE_NUMBER_ID, TO (recipient phone number) and OTP in the environment.
curl -sS -X POST "https://graph.facebook.com/v26.0/${PHONE_NUMBER_ID}/messages" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-d @- <<EOF
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "${TO}",
"type": "interactive",
"category": "authentication",
"interactive": {
"type": "button",
"body": { "text": "Your verification code is ${OTP}." },
"action": {
"buttons": [
{
"type": "otp",
"otp": {
"code": "${OTP}",
"otp_type": "copy_code",
"text": "Copy Code",
"code_expiration_minutes": 10
}
}
]
}
}
}
EOF
For one-tap or zero-tap, set otp_type to one_tap or zero_tap and add autofill_text and supported_apps. That array takes 1 to 5 entries, each with a package_name and a signature_hash. Zero-tap also needs "zero_tap_terms_accepted": true inside the otp object. code_expiration_minutes runs from 1 to 90 and defaults to 10. The Android handshake works as it does for templates, covered in authentication templates with copy code and one-tap.
The to field must be a phone number. Authentication messages do not support BSUID recipients and return 131062, per the Direct Send API reference (accessed 2026-11-24).
The copy code default changed twice in a week
A plain text authentication message can also get a copy code button, because Direct Send infers the code. Meta changed that default on Oct 27 and restored it on Nov 3, 2026. The entries appear on the rendered changelog page (accessed 2026-11-24). Its Markdown export still stops at May 12, 2026.
On Oct 27, Meta “Deprecated automatic OTP inference and copy code button generation for Direct Send text authentication messages by default.” The entry told developers to “use interactive authentication messages and explicitly provide the OTP in otp.code.”
On Nov 3, Meta “Restored default numeric OTP inference and copy code buttons for Direct Send text authentication messages, unless inference is disabled for the sending business.” It added: “Explicit interactive OTP buttons are unchanged.” Neither entry gives a reason for the change or for the reversal.
The inference rule is on the supported message types page. Direct Send “selects the code if the body contains exactly one 4–6-digit number.” Otherwise, “it selects a number with 4 or more digits only if there is exactly one.” If neither rule finds a single candidate, “no code is inferred.”
Applied to real message bodies, the rule can pick the wrong number. In “Your code is 482913. It expires in 10 minutes”, only 482913 has 4 to 6 digits, so it is picked. In “Use 48291375 for order 1042”, only 1042 has 4 to 6 digits, so the order number becomes the code. A body with two such numbers gets no button at all.
Send the interactive shape above. It was the documented route during the week the default was off, and Meta says it did not change. Meta also does not document how a business turns inference off, so you cannot tell from the API whether yours is disabled.
Errors to handle
Two errors come back in the synchronous response. A marketing category returns (#100) Param category must be one of {AUTHENTICATION, SERVICE, UTILITY} - got "marketing". An account without access returns code 100, (#100) Invalid parameter, with this in error_data.details: “Parameter Invalid: The ‘category’ value requires Direct Send, which isn’t enabled for this account.”
The API reference (accessed 2026-11-24) lists the rest. The meanings below are paraphrased.
| Code | Meaning on Direct Send |
|---|---|
| 100 | TTL out of range, TTL on a message that is not Direct Send, or Direct Send not enabled |
| 131062 | Authentication sent to a BSUID; use a phone number in to |
| 2388330 / 2388318 | A Direct Send template cannot be deleted / updated |
| 139200 | Access blocked for misclassification |
| 131064 | Messaging limit reached under misclassification enforcement |
| 132015 | Generated template paused for low quality |
| 132021 | Name conflict, reported asynchronously |
| 131000 | The template_name template could not be created after 3 retries |
| 135000 | Dropped by pacing, reported as a failed status webhook |
Meta’s pages conflict on code 135000. The main error table describes it as an unknown parameter error, while the Direct Send and pacing pages use it for pacing drops. Read it together with the webhook it arrives in. Status handling is in message status webhooks.
TTL defaults and the contradiction in them
The configure message TTL page (accessed 2026-11-24) gives these values:
| Category | Default | Minimum | Maximum |
|---|---|---|---|
| Utility | 30 days | 30 s | 43200 s |
| Authentication | 600 s | 30 s | 900 s |
The utility row contradicts itself. 43200 seconds is 12 hours, yet the default is 30 days. Set ttl_seconds explicitly on every utility send so you never depend on which value Meta applies. At expiry, “The message is dropped.” Meta documents no error code or status webhook for that drop.
Templates Meta creates on your account
Direct Send “auto-creates templates on the fly and matches incoming messages against those templates before sending” (overview, accessed 2026-11-24). If nothing matches, it “falls back to the onboarding templates and the message is still sent”. A new template is then created asynchronously.
You can list them with the WABA ID:
#!/usr/bin/env bash
# Requires ACCESS_TOKEN and WABA_ID in the environment.
curl -sS -G "https://graph.facebook.com/v26.0/${WABA_ID}/message_templates" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
--data-urlencode "source=AUTO_GENERATED"
The response includes name (prefixed auto_generated, or your template_name), status, category, correct_category and source. You cannot edit or delete these templates. Per Meta’s FAQ, unused ones are deleted after 24 hours and inactive ones are archived. They sit beside any you took from the template library.
Misclassification enforcement
Direct Send trusts your category, then checks it. Per the integrity and content guidelines (accessed 2026-11-24), Meta notifies you when it detects marketing content in utility sends. The ladder then runs from a temporary rate-limit cap (131064) to a 7-day restriction, a 30-day restriction and permanent revocation.
The account_update webhook carries restriction_info[].restriction_type set to RESTRICTED_DIRECT_SEND_UTILITY_TEMPLATES, with an expiration. A paused template arrives as message_template_status_update with event PAUSED. Reviews are requested in Business Support Home > Direct Send template updates, “within 60 days”. “Each flagged template can be reviewed once.” What counts as marketing is the same question as for templates, covered in template categories.
How Direct Send is billed
Meta’s FAQ says Direct Send utility messages “follow the same session logic as utility template messages.” The same FAQ talks about “utility conversations” that are “billed independently”. That is conversation-model wording. The pricing page (accessed 2026-11-24) says “Effective July 1, 2025 – Meta charges on a per-message basis.” It does not mention Direct Send, and it says non-template messages are used only to respond to users. Check your invoice categories after the first sends instead of relying on either page.
When to keep using templates
Keep using templates in these cases:
- Marketing messages of any kind. Where those are heading is in marketing messages leave the Cloud API in 2027.
- Authentication to recipients you know only by BSUID (131062).
- Portfolios below a messaging limit of 100,000.
- Authentication when you have no early access.
- A fixed, named authentication template, since business-named templates are utility only.
- Formats outside the supported list. Meta says “Any message format or feature not listed here is not yet supported.”
- Codes longer than 10 characters. Direct Send takes 4 to 10 ASCII alphanumeric characters, and the copy code template allows 15.
The limits page also caps the body at 1024 characters, the header and footer at 60, and button text at 20. It allows up to 10 quick reply buttons, 2 CTA buttons and 1 voice call button. Authentication takes exactly one button, with a label of up to 25 characters.
What Meta has not documented
Meta has not said how a business disables OTP inference, or why it switched the default off on Oct 27 and back on Nov 3. It publishes no full eligibility criteria beyond the messaging limit, and no country list. There is no status webhook for a TTL drop, and no synchronous response body for a business-named send.
Meta’s pages also conflict on four points: alpha versus beta for authentication, the utility TTL default, the billing model wording, and the meaning of 135000. Recheck the pages before you build on any of them.
Z-API Omni team