[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-aws-social-messaging":3,"mdc-z752qm-key":35,"related-org-aws-aws-social-messaging":1333,"related-repo-aws-aws-social-messaging":1510},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"aws-social-messaging","manage WhatsApp messaging via AWS","Manages WhatsApp messaging through AWS End User Messaging Social. Covers managing templates (create, update, delete, library), sending messages (utility\u002Fmarketing\u002Fauth templates and freeform), uploading and managing media, configuring event destinations for delivery tracking, and troubleshooting delivery failures. Applicable when a user needs to send WhatsApp messages, create or manage templates, upload media, configure delivery notifications, or diagnose messaging issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"aws","AWS (Amazon)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faws.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Operations","operations","tag",{"name":17,"slug":18,"type":15},"WhatsApp","whatsapp",{"name":20,"slug":21,"type":15},"Messaging","messaging",{"name":23,"slug":8,"type":15},"AWS",1822,"https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws","2026-08-14T04:52:01.895477",null,157,[],{"repoUrl":25,"stars":24,"forks":28,"topics":31,"description":32},[],"Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS","https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws\u002Ftree\u002FHEAD\u002Fskills\u002Fspecialized-skills\u002Fmessaging-and-streaming-skills\u002Faws-social-messaging","---\nname: aws-social-messaging\ndescription: Manages WhatsApp messaging through AWS End User Messaging Social. Covers managing templates (create, update, delete, library), sending messages (utility\u002Fmarketing\u002Fauth templates and freeform), uploading and managing media, configuring event destinations for delivery tracking, and troubleshooting delivery failures. Applicable when a user needs to send WhatsApp messages, create or manage templates, upload media, configure delivery notifications, or diagnose messaging issues.\nversion: 1\n---\n\n# AWS End User Messaging Social — WhatsApp\n\n## Overview\n\nWhatsApp messaging via AWS End User Messaging Social: template management, sending, media handling, event destinations, and delivery troubleshooting.\n\n**Recommended setup:** Use the [AWS MCP server](https:\u002F\u002Fdocs.aws.amazon.com\u002Fagent-toolkit\u002Flatest\u002Fuserguide\u002Fmcp-server.html) for sandboxed execution, audit logging, and enterprise controls.\n\n**Without AWS MCP:** This skill works with any agent that has AWS CLI access. All commands use standard AWS CLI syntax.\n\n## Common Tasks\n\n### 1. Verify Dependencies\n\n**Constraints:**\n\n- The AWS MCP server is recommended for seamless API execution but not required — all commands use standard AWS CLI syntax\n- You MUST verify the AWS CLI is installed and configured with appropriate credentials\n- You SHOULD recommend the user assume an IAM role with ephemeral credentials\n- You MUST inform the user if any required tool is missing and how to install\u002Fconfigure it\n- You MUST ask the user if they want to proceed despite any missing tools\n- If the `aws socialmessaging` subcommand is not recognized, the user must update to the latest AWS CLI version\n- Required IAM permissions (scope to specific WABA and phone number ARNs):\n  - Templates: `social-messaging:CreateWhatsAppMessageTemplate`, `social-messaging:GetWhatsAppMessageTemplate`, `social-messaging:ListWhatsAppMessageTemplates`, `social-messaging:UpdateWhatsAppMessageTemplate`, `social-messaging:DeleteWhatsAppMessageTemplate`, `social-messaging:ListWhatsAppTemplateLibrary`, `social-messaging:CreateWhatsAppMessageTemplateFromLibrary`\n  - Sending: `social-messaging:SendWhatsAppMessage`\n  - Media: `social-messaging:PostWhatsAppMessageMedia`, `social-messaging:CreateWhatsAppMessageTemplateMedia`, `social-messaging:GetWhatsAppMessageMedia`, `social-messaging:DeleteWhatsAppMessageMedia`\n  - Events: `social-messaging:PutWhatsAppBusinessAccountEventDestinations`\n  - Diagnostics: `social-messaging:GetLinkedWhatsAppBusinessAccount`, `social-messaging:GetLinkedWhatsAppBusinessAccountPhoneNumber`, `social-messaging:ListLinkedWhatsAppBusinessAccounts`\n  - Supporting: `sns:ListSubscriptionsByTopic`, `iam:PassRole` (for event destination role)\n\n### 2. Manage Templates\n\nCreate, update, and delete message templates (utility, marketing, authentication).\n\n- `create-whatsapp-message-template`: base64-encode `--template-definition` (blob type)\n- `create-whatsapp-message-template-from-library`: use pre-approved Meta library templates\n- `list-whatsapp-template-library`: browse available library templates\n- `get-whatsapp-message-template`: retrieve template details by `--id` (WABA) and `--meta-template-id`\n- `update-whatsapp-message-template`: modify existing template content\n- `delete-whatsapp-message-template`: requires `--template-name` (NOT `--meta-template-name`); always include `--delete-all-languages`\n- `list-whatsapp-message-templates`: response fields are `templateStatus` and `templateCategory` (NOT `status`\u002F`category`)\n- Templates with `{{N}}` parameters MUST include `\"parameter_format\": \"positional\"` (exception: AUTHENTICATION — Meta handles OTP parameters automatically) and `\"example\"`\n- Meta reviews all templates (minutes to 24h); MUST NOT send with PENDING\u002FREJECTED\n- Choosing the wrong category causes reclassification (UTILITY → MARKETING) which changes pricing — see [managing-templates.md — Choosing the Right Category](references\u002Fmanaging-templates.md) for guidance on selecting UTILITY vs MARKETING vs AUTHENTICATION\n- You MUST confirm the intended category (UTILITY, MARKETING, or AUTHENTICATION) with the user before creating a template — explain the categorization criteria and reclassification risk if the choice is ambiguous\n\nSee [managing-templates.md](references\u002Fmanaging-templates.md).\n\n### 3. Send Messages\n\n#### Template Messages (no 24h restriction)\n\n- Use for: transactional updates (utility), promotions (marketing), verification codes (authentication)\n- Collect: phone number ID, recipient (E.164 with `+`), template name, language, parameters\n- Marketing templates may include image headers\n- `--message` is blob type — MUST base64-encode JSON\n\n#### Freeform Messages (24h window required)\n\n- Use for: customer service replies within 24h of customer's last inbound message\n- Supports: text, image, document, video, audio — see [WhatsApp Cloud API media reference](https:\u002F\u002Fdevelopers.facebook.com\u002Fdocs\u002Fwhatsapp\u002Fcloud-api\u002Freference\u002Fmedia) for supported format and size constraints\n- No API to check window status — user must confirm from logs or event history\n- Media URLs MUST be publicly accessible HTTPS and remain available for the full 30-day message availability window (Meta can re-fetch anytime). For sensitive content (receipts, invoices, PII), upload via `post-whatsapp-message-media` and reference by media ID instead — presigned URLs cannot satisfy the 30-day availability requirement\n\n**Constraints for all sends:**\n\n- Before executing any API call, validate parameter formats:\n  - Phone number IDs match `phone-number-id-*` pattern\n  - WABA IDs match `waba-*` pattern\n  - Recipient numbers are E.164 with `+` prefix (e.g., `+14155551234`), or Business-Scoped User ID (BSUID) via the `\"recipient\"` field\n  - Template names contain only lowercase letters, numbers, and underscores\n  - Language codes use Meta's locale format with underscores (e.g., `en_US`, `pt_BR`)\n  - `--meta-api-version` is `v{Major}.{Minor}` format (e.g., `v21.0`)\n- `\"messaging_product\"` MUST be `\"whatsapp\"` in the JSON body; check [Meta's Graph API changelog](https:\u002F\u002Fdevelopers.facebook.com\u002Fdocs\u002Fgraph-api\u002Fchangelog) for the supported Meta Graph API version\n- `--message` is blob type — MUST base64-encode the JSON payload\n- A successful `messageId` means queued, not delivered\n- You MUST ask for all required parameters upfront in a single prompt\n- You MUST accept parameters as individual values, JSON objects, or file references\n- You MUST explain each step before executing\n- You SHOULD confirm all parameters with the user before executing\n- You MUST respect the user's decision to abort\n- You MUST NOT send more than 5 messages per batch without user confirmation\n- You MUST NOT create or access credentials directly\n\nSee [sending-messages.md](references\u002Fsending-messages.md).\n\n### 4. Manage Media\n\nUpload, retrieve, and delete media for messages and template headers.\n\n- `post-whatsapp-message-media`: upload media, returns reusable media ID\n- `create-whatsapp-message-template-media`: upload media specifically for template headers\n- `get-whatsapp-message-media`: retrieve media metadata\u002FURL by ID\n- `delete-whatsapp-message-media`: remove uploaded media\n\nSee [managing-media.md](references\u002Fmanaging-media.md).\n\n### 5. Configure Event Destinations\n\nSet up delivery tracking, template status notifications, and reclassification alerts.\n\nSet up delivery tracking, template status notifications, and reclassification alerts. A WABA can only have one event destination. See [configuring-event-destinations.md](references\u002Fconfiguring-event-destinations.md) for prerequisites (IAM role, SNS topic with KMS encryption, HTTPS-only subscription endpoints, condition keys) and full security controls.\n\n### 6. Troubleshoot Delivery\nDiagnostic flow: WABA status → phone number → templates → event destinations → quotas.\n\n- `get-linked-whatsapp-business-account`: registration MUST be COMPLETE\n- `get-linked-whatsapp-business-account-phone-number`: verify phone number health\n- `list-linked-whatsapp-business-accounts`: list all WABAs\n- Template reclassified: detectable via event destinations (real-time) or by listing templates and comparing categories; delete and recreate\n- 24h window expired: use template message instead\n- Rate limiting: new WABAs have lower limits; increases with quality\n- Recipient without WhatsApp: silently dropped\n\nSee [troubleshooting-delivery.md](references\u002Ftroubleshooting-delivery.md).\n\n## Quick Reference — Common Errors\n\n- **Access denied**: verify IAM permissions scoped to WABA\u002Fphone number ARNs\n- **Template rejected**: body must match category; include `parameter_format` and `example`\n- **Template reclassified**: configure event destinations to detect; delete and recreate\n- **24h window expired**: use template message instead of freeform\n- **Send fails**: `--origination-phone-number-id` is the ID (not phone number); recipient E.164 with `+`\n- **Queued but not delivered**: 200 = queued; configure event destinations for status\n- **Media URL inaccessible**: must be publicly accessible HTTPS\n\n## Security Considerations\n\n- Use least-privilege IAM policies scoped to specific `social-messaging:` actions and WABA\u002Fphone number ARNs\n- Use ephemeral credentials (IAM roles) instead of long-lived access keys\n- Store secrets in AWS Secrets Manager or Parameter Store — never in code or environment variables\n- Enable CloudTrail for auditing all `social-messaging` API calls; encrypt logs with KMS CMK\n- Encrypt SNS topics for event destinations with KMS (callbacks contain recipient metadata)\n- Encrypt CloudWatch Logs with KMS if monitoring social-messaging activity\n- Avoid sensitive data in template parameters and freeform message content (they appear in CloudTrail logs)\n- Validate recipient phone numbers to prevent unauthorized messaging\n- Verify SNS subscription endpoints are authorized by your team — validate that all subscribed email addresses and systems belong to personnel\u002Fsystems that should receive sensitive delivery status and recipient metadata before confirming subscriptions. Use HTTPS-only endpoints\n- Add condition keys (`aws:SourceArn`, `aws:SourceAccount`) to SNS topic policies to prevent confused deputy attacks\n- Implement rate limiting via service quotas and CloudWatch alarms on send rates\n\n## Additional Resources\n\n- [AWS End User Messaging Social User Guide](https:\u002F\u002Fdocs.aws.amazon.com\u002Fsocial-messaging\u002Flatest\u002Fuserguide\u002Fwhat-is-service.html)\n- [AWS CLI socialmessaging Reference](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fsocialmessaging\u002F)\n- [Getting Started with WhatsApp](https:\u002F\u002Fdocs.aws.amazon.com\u002Fsocial-messaging\u002Flatest\u002Fuserguide\u002Fgetting-started-whatsapp.html)\n- [Managing Event Destinations](https:\u002F\u002Fdocs.aws.amazon.com\u002Fsocial-messaging\u002Flatest\u002Fuserguide\u002Fmanaging-event-destinations-add.html)\n- [Service Quotas](https:\u002F\u002Fdocs.aws.amazon.com\u002Fsocial-messaging\u002Flatest\u002Fuserguide\u002Fquotas.html)\n- [IAM Security Best Practices](https:\u002F\u002Fdocs.aws.amazon.com\u002FIAM\u002Flatest\u002FUserGuide\u002Fbest-practices.html)\n- [Confused Deputy Prevention](https:\u002F\u002Fdocs.aws.amazon.com\u002FIAM\u002Flatest\u002FUserGuide\u002Fconfused-deputy.html)\n- [SNS Data Protection Best Practices](https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fsns-security-best-practices.html)\n- [AWS Well-Architected Security Pillar](https:\u002F\u002Fdocs.aws.amazon.com\u002Fwellarchitected\u002Flatest\u002Fsecurity-pillar\u002Fwelcome.html)\n",{"data":36,"body":38},{"name":4,"description":6,"version":37},1,{"type":39,"children":40},"root",[41,50,57,63,85,95,101,108,116,321,327,332,537,549,555,562,599,605,645,653,853,864,870,875,921,932,938,943,956,962,967,1023,1034,1040,1139,1145,1234,1240],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"aws-end-user-messaging-social-whatsapp",[47],{"type":48,"value":49},"text","AWS End User Messaging Social — WhatsApp",{"type":42,"tag":51,"props":52,"children":54},"h2",{"id":53},"overview",[55],{"type":48,"value":56},"Overview",{"type":42,"tag":58,"props":59,"children":60},"p",{},[61],{"type":48,"value":62},"WhatsApp messaging via AWS End User Messaging Social: template management, sending, media handling, event destinations, and delivery troubleshooting.",{"type":42,"tag":58,"props":64,"children":65},{},[66,72,74,83],{"type":42,"tag":67,"props":68,"children":69},"strong",{},[70],{"type":48,"value":71},"Recommended setup:",{"type":48,"value":73}," Use the ",{"type":42,"tag":75,"props":76,"children":80},"a",{"href":77,"rel":78},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fagent-toolkit\u002Flatest\u002Fuserguide\u002Fmcp-server.html",[79],"nofollow",[81],{"type":48,"value":82},"AWS MCP server",{"type":48,"value":84}," for sandboxed execution, audit logging, and enterprise controls.",{"type":42,"tag":58,"props":86,"children":87},{},[88,93],{"type":42,"tag":67,"props":89,"children":90},{},[91],{"type":48,"value":92},"Without AWS MCP:",{"type":48,"value":94}," This skill works with any agent that has AWS CLI access. All commands use standard AWS CLI syntax.",{"type":42,"tag":51,"props":96,"children":98},{"id":97},"common-tasks",[99],{"type":48,"value":100},"Common Tasks",{"type":42,"tag":102,"props":103,"children":105},"h3",{"id":104},"_1-verify-dependencies",[106],{"type":48,"value":107},"1. Verify Dependencies",{"type":42,"tag":58,"props":109,"children":110},{},[111],{"type":42,"tag":67,"props":112,"children":113},{},[114],{"type":48,"value":115},"Constraints:",{"type":42,"tag":117,"props":118,"children":119},"ul",{},[120,126,131,136,141,146,160],{"type":42,"tag":121,"props":122,"children":123},"li",{},[124],{"type":48,"value":125},"The AWS MCP server is recommended for seamless API execution but not required — all commands use standard AWS CLI syntax",{"type":42,"tag":121,"props":127,"children":128},{},[129],{"type":48,"value":130},"You MUST verify the AWS CLI is installed and configured with appropriate credentials",{"type":42,"tag":121,"props":132,"children":133},{},[134],{"type":48,"value":135},"You SHOULD recommend the user assume an IAM role with ephemeral credentials",{"type":42,"tag":121,"props":137,"children":138},{},[139],{"type":48,"value":140},"You MUST inform the user if any required tool is missing and how to install\u002Fconfigure it",{"type":42,"tag":121,"props":142,"children":143},{},[144],{"type":48,"value":145},"You MUST ask the user if they want to proceed despite any missing tools",{"type":42,"tag":121,"props":147,"children":148},{},[149,151,158],{"type":48,"value":150},"If the ",{"type":42,"tag":152,"props":153,"children":155},"code",{"className":154},[],[156],{"type":48,"value":157},"aws socialmessaging",{"type":48,"value":159}," subcommand is not recognized, the user must update to the latest AWS CLI version",{"type":42,"tag":121,"props":161,"children":162},{},[163,165],{"type":48,"value":164},"Required IAM permissions (scope to specific WABA and phone number ARNs):\n",{"type":42,"tag":117,"props":166,"children":167},{},[168,222,233,265,276,301],{"type":42,"tag":121,"props":169,"children":170},{},[171,173,179,181,187,188,194,195,201,202,208,209,215,216],{"type":48,"value":172},"Templates: ",{"type":42,"tag":152,"props":174,"children":176},{"className":175},[],[177],{"type":48,"value":178},"social-messaging:CreateWhatsAppMessageTemplate",{"type":48,"value":180},", ",{"type":42,"tag":152,"props":182,"children":184},{"className":183},[],[185],{"type":48,"value":186},"social-messaging:GetWhatsAppMessageTemplate",{"type":48,"value":180},{"type":42,"tag":152,"props":189,"children":191},{"className":190},[],[192],{"type":48,"value":193},"social-messaging:ListWhatsAppMessageTemplates",{"type":48,"value":180},{"type":42,"tag":152,"props":196,"children":198},{"className":197},[],[199],{"type":48,"value":200},"social-messaging:UpdateWhatsAppMessageTemplate",{"type":48,"value":180},{"type":42,"tag":152,"props":203,"children":205},{"className":204},[],[206],{"type":48,"value":207},"social-messaging:DeleteWhatsAppMessageTemplate",{"type":48,"value":180},{"type":42,"tag":152,"props":210,"children":212},{"className":211},[],[213],{"type":48,"value":214},"social-messaging:ListWhatsAppTemplateLibrary",{"type":48,"value":180},{"type":42,"tag":152,"props":217,"children":219},{"className":218},[],[220],{"type":48,"value":221},"social-messaging:CreateWhatsAppMessageTemplateFromLibrary",{"type":42,"tag":121,"props":223,"children":224},{},[225,227],{"type":48,"value":226},"Sending: ",{"type":42,"tag":152,"props":228,"children":230},{"className":229},[],[231],{"type":48,"value":232},"social-messaging:SendWhatsAppMessage",{"type":42,"tag":121,"props":234,"children":235},{},[236,238,244,245,251,252,258,259],{"type":48,"value":237},"Media: ",{"type":42,"tag":152,"props":239,"children":241},{"className":240},[],[242],{"type":48,"value":243},"social-messaging:PostWhatsAppMessageMedia",{"type":48,"value":180},{"type":42,"tag":152,"props":246,"children":248},{"className":247},[],[249],{"type":48,"value":250},"social-messaging:CreateWhatsAppMessageTemplateMedia",{"type":48,"value":180},{"type":42,"tag":152,"props":253,"children":255},{"className":254},[],[256],{"type":48,"value":257},"social-messaging:GetWhatsAppMessageMedia",{"type":48,"value":180},{"type":42,"tag":152,"props":260,"children":262},{"className":261},[],[263],{"type":48,"value":264},"social-messaging:DeleteWhatsAppMessageMedia",{"type":42,"tag":121,"props":266,"children":267},{},[268,270],{"type":48,"value":269},"Events: ",{"type":42,"tag":152,"props":271,"children":273},{"className":272},[],[274],{"type":48,"value":275},"social-messaging:PutWhatsAppBusinessAccountEventDestinations",{"type":42,"tag":121,"props":277,"children":278},{},[279,281,287,288,294,295],{"type":48,"value":280},"Diagnostics: ",{"type":42,"tag":152,"props":282,"children":284},{"className":283},[],[285],{"type":48,"value":286},"social-messaging:GetLinkedWhatsAppBusinessAccount",{"type":48,"value":180},{"type":42,"tag":152,"props":289,"children":291},{"className":290},[],[292],{"type":48,"value":293},"social-messaging:GetLinkedWhatsAppBusinessAccountPhoneNumber",{"type":48,"value":180},{"type":42,"tag":152,"props":296,"children":298},{"className":297},[],[299],{"type":48,"value":300},"social-messaging:ListLinkedWhatsAppBusinessAccounts",{"type":42,"tag":121,"props":302,"children":303},{},[304,306,312,313,319],{"type":48,"value":305},"Supporting: ",{"type":42,"tag":152,"props":307,"children":309},{"className":308},[],[310],{"type":48,"value":311},"sns:ListSubscriptionsByTopic",{"type":48,"value":180},{"type":42,"tag":152,"props":314,"children":316},{"className":315},[],[317],{"type":48,"value":318},"iam:PassRole",{"type":48,"value":320}," (for event destination role)",{"type":42,"tag":102,"props":322,"children":324},{"id":323},"_2-manage-templates",[325],{"type":48,"value":326},"2. Manage Templates",{"type":42,"tag":58,"props":328,"children":329},{},[330],{"type":48,"value":331},"Create, update, and delete message templates (utility, marketing, authentication).",{"type":42,"tag":117,"props":333,"children":334},{},[335,354,365,376,401,412,445,487,514,519,532],{"type":42,"tag":121,"props":336,"children":337},{},[338,344,346,352],{"type":42,"tag":152,"props":339,"children":341},{"className":340},[],[342],{"type":48,"value":343},"create-whatsapp-message-template",{"type":48,"value":345},": base64-encode ",{"type":42,"tag":152,"props":347,"children":349},{"className":348},[],[350],{"type":48,"value":351},"--template-definition",{"type":48,"value":353}," (blob type)",{"type":42,"tag":121,"props":355,"children":356},{},[357,363],{"type":42,"tag":152,"props":358,"children":360},{"className":359},[],[361],{"type":48,"value":362},"create-whatsapp-message-template-from-library",{"type":48,"value":364},": use pre-approved Meta library templates",{"type":42,"tag":121,"props":366,"children":367},{},[368,374],{"type":42,"tag":152,"props":369,"children":371},{"className":370},[],[372],{"type":48,"value":373},"list-whatsapp-template-library",{"type":48,"value":375},": browse available library templates",{"type":42,"tag":121,"props":377,"children":378},{},[379,385,387,393,395],{"type":42,"tag":152,"props":380,"children":382},{"className":381},[],[383],{"type":48,"value":384},"get-whatsapp-message-template",{"type":48,"value":386},": retrieve template details by ",{"type":42,"tag":152,"props":388,"children":390},{"className":389},[],[391],{"type":48,"value":392},"--id",{"type":48,"value":394}," (WABA) and ",{"type":42,"tag":152,"props":396,"children":398},{"className":397},[],[399],{"type":48,"value":400},"--meta-template-id",{"type":42,"tag":121,"props":402,"children":403},{},[404,410],{"type":42,"tag":152,"props":405,"children":407},{"className":406},[],[408],{"type":48,"value":409},"update-whatsapp-message-template",{"type":48,"value":411},": modify existing template content",{"type":42,"tag":121,"props":413,"children":414},{},[415,421,423,429,431,437,439],{"type":42,"tag":152,"props":416,"children":418},{"className":417},[],[419],{"type":48,"value":420},"delete-whatsapp-message-template",{"type":48,"value":422},": requires ",{"type":42,"tag":152,"props":424,"children":426},{"className":425},[],[427],{"type":48,"value":428},"--template-name",{"type":48,"value":430}," (NOT ",{"type":42,"tag":152,"props":432,"children":434},{"className":433},[],[435],{"type":48,"value":436},"--meta-template-name",{"type":48,"value":438},"); always include ",{"type":42,"tag":152,"props":440,"children":442},{"className":441},[],[443],{"type":48,"value":444},"--delete-all-languages",{"type":42,"tag":121,"props":446,"children":447},{},[448,454,456,462,464,470,471,477,479,485],{"type":42,"tag":152,"props":449,"children":451},{"className":450},[],[452],{"type":48,"value":453},"list-whatsapp-message-templates",{"type":48,"value":455},": response fields are ",{"type":42,"tag":152,"props":457,"children":459},{"className":458},[],[460],{"type":48,"value":461},"templateStatus",{"type":48,"value":463}," and ",{"type":42,"tag":152,"props":465,"children":467},{"className":466},[],[468],{"type":48,"value":469},"templateCategory",{"type":48,"value":430},{"type":42,"tag":152,"props":472,"children":474},{"className":473},[],[475],{"type":48,"value":476},"status",{"type":48,"value":478},"\u002F",{"type":42,"tag":152,"props":480,"children":482},{"className":481},[],[483],{"type":48,"value":484},"category",{"type":48,"value":486},")",{"type":42,"tag":121,"props":488,"children":489},{},[490,492,498,500,506,508],{"type":48,"value":491},"Templates with ",{"type":42,"tag":152,"props":493,"children":495},{"className":494},[],[496],{"type":48,"value":497},"{{N}}",{"type":48,"value":499}," parameters MUST include ",{"type":42,"tag":152,"props":501,"children":503},{"className":502},[],[504],{"type":48,"value":505},"\"parameter_format\": \"positional\"",{"type":48,"value":507}," (exception: AUTHENTICATION — Meta handles OTP parameters automatically) and ",{"type":42,"tag":152,"props":509,"children":511},{"className":510},[],[512],{"type":48,"value":513},"\"example\"",{"type":42,"tag":121,"props":515,"children":516},{},[517],{"type":48,"value":518},"Meta reviews all templates (minutes to 24h); MUST NOT send with PENDING\u002FREJECTED",{"type":42,"tag":121,"props":520,"children":521},{},[522,524,530],{"type":48,"value":523},"Choosing the wrong category causes reclassification (UTILITY → MARKETING) which changes pricing — see ",{"type":42,"tag":75,"props":525,"children":527},{"href":526},"references\u002Fmanaging-templates.md",[528],{"type":48,"value":529},"managing-templates.md — Choosing the Right Category",{"type":48,"value":531}," for guidance on selecting UTILITY vs MARKETING vs AUTHENTICATION",{"type":42,"tag":121,"props":533,"children":534},{},[535],{"type":48,"value":536},"You MUST confirm the intended category (UTILITY, MARKETING, or AUTHENTICATION) with the user before creating a template — explain the categorization criteria and reclassification risk if the choice is ambiguous",{"type":42,"tag":58,"props":538,"children":539},{},[540,542,547],{"type":48,"value":541},"See ",{"type":42,"tag":75,"props":543,"children":544},{"href":526},[545],{"type":48,"value":546},"managing-templates.md",{"type":48,"value":548},".",{"type":42,"tag":102,"props":550,"children":552},{"id":551},"_3-send-messages",[553],{"type":48,"value":554},"3. Send Messages",{"type":42,"tag":556,"props":557,"children":559},"h4",{"id":558},"template-messages-no-24h-restriction",[560],{"type":48,"value":561},"Template Messages (no 24h restriction)",{"type":42,"tag":117,"props":563,"children":564},{},[565,570,583,588],{"type":42,"tag":121,"props":566,"children":567},{},[568],{"type":48,"value":569},"Use for: transactional updates (utility), promotions (marketing), verification codes (authentication)",{"type":42,"tag":121,"props":571,"children":572},{},[573,575,581],{"type":48,"value":574},"Collect: phone number ID, recipient (E.164 with ",{"type":42,"tag":152,"props":576,"children":578},{"className":577},[],[579],{"type":48,"value":580},"+",{"type":48,"value":582},"), template name, language, parameters",{"type":42,"tag":121,"props":584,"children":585},{},[586],{"type":48,"value":587},"Marketing templates may include image headers",{"type":42,"tag":121,"props":589,"children":590},{},[591,597],{"type":42,"tag":152,"props":592,"children":594},{"className":593},[],[595],{"type":48,"value":596},"--message",{"type":48,"value":598}," is blob type — MUST base64-encode JSON",{"type":42,"tag":556,"props":600,"children":602},{"id":601},"freeform-messages-24h-window-required",[603],{"type":48,"value":604},"Freeform Messages (24h window required)",{"type":42,"tag":117,"props":606,"children":607},{},[608,613,627,632],{"type":42,"tag":121,"props":609,"children":610},{},[611],{"type":48,"value":612},"Use for: customer service replies within 24h of customer's last inbound message",{"type":42,"tag":121,"props":614,"children":615},{},[616,618,625],{"type":48,"value":617},"Supports: text, image, document, video, audio — see ",{"type":42,"tag":75,"props":619,"children":622},{"href":620,"rel":621},"https:\u002F\u002Fdevelopers.facebook.com\u002Fdocs\u002Fwhatsapp\u002Fcloud-api\u002Freference\u002Fmedia",[79],[623],{"type":48,"value":624},"WhatsApp Cloud API media reference",{"type":48,"value":626}," for supported format and size constraints",{"type":42,"tag":121,"props":628,"children":629},{},[630],{"type":48,"value":631},"No API to check window status — user must confirm from logs or event history",{"type":42,"tag":121,"props":633,"children":634},{},[635,637,643],{"type":48,"value":636},"Media URLs MUST be publicly accessible HTTPS and remain available for the full 30-day message availability window (Meta can re-fetch anytime). For sensitive content (receipts, invoices, PII), upload via ",{"type":42,"tag":152,"props":638,"children":640},{"className":639},[],[641],{"type":48,"value":642},"post-whatsapp-message-media",{"type":48,"value":644}," and reference by media ID instead — presigned URLs cannot satisfy the 30-day availability requirement",{"type":42,"tag":58,"props":646,"children":647},{},[648],{"type":42,"tag":67,"props":649,"children":650},{},[651],{"type":48,"value":652},"Constraints for all sends:",{"type":42,"tag":117,"props":654,"children":655},{},[656,767,795,805,818,823,828,833,838,843,848],{"type":42,"tag":121,"props":657,"children":658},{},[659,661],{"type":48,"value":660},"Before executing any API call, validate parameter formats:\n",{"type":42,"tag":117,"props":662,"children":663},{},[664,677,689,717,722,741],{"type":42,"tag":121,"props":665,"children":666},{},[667,669,675],{"type":48,"value":668},"Phone number IDs match ",{"type":42,"tag":152,"props":670,"children":672},{"className":671},[],[673],{"type":48,"value":674},"phone-number-id-*",{"type":48,"value":676}," pattern",{"type":42,"tag":121,"props":678,"children":679},{},[680,682,688],{"type":48,"value":681},"WABA IDs match ",{"type":42,"tag":152,"props":683,"children":685},{"className":684},[],[686],{"type":48,"value":687},"waba-*",{"type":48,"value":676},{"type":42,"tag":121,"props":690,"children":691},{},[692,694,699,701,707,709,715],{"type":48,"value":693},"Recipient numbers are E.164 with ",{"type":42,"tag":152,"props":695,"children":697},{"className":696},[],[698],{"type":48,"value":580},{"type":48,"value":700}," prefix (e.g., ",{"type":42,"tag":152,"props":702,"children":704},{"className":703},[],[705],{"type":48,"value":706},"+14155551234",{"type":48,"value":708},"), or Business-Scoped User ID (BSUID) via the ",{"type":42,"tag":152,"props":710,"children":712},{"className":711},[],[713],{"type":48,"value":714},"\"recipient\"",{"type":48,"value":716}," field",{"type":42,"tag":121,"props":718,"children":719},{},[720],{"type":48,"value":721},"Template names contain only lowercase letters, numbers, and underscores",{"type":42,"tag":121,"props":723,"children":724},{},[725,727,733,734,740],{"type":48,"value":726},"Language codes use Meta's locale format with underscores (e.g., ",{"type":42,"tag":152,"props":728,"children":730},{"className":729},[],[731],{"type":48,"value":732},"en_US",{"type":48,"value":180},{"type":42,"tag":152,"props":735,"children":737},{"className":736},[],[738],{"type":48,"value":739},"pt_BR",{"type":48,"value":486},{"type":42,"tag":121,"props":742,"children":743},{},[744,750,752,758,760,766],{"type":42,"tag":152,"props":745,"children":747},{"className":746},[],[748],{"type":48,"value":749},"--meta-api-version",{"type":48,"value":751}," is ",{"type":42,"tag":152,"props":753,"children":755},{"className":754},[],[756],{"type":48,"value":757},"v{Major}.{Minor}",{"type":48,"value":759}," format (e.g., ",{"type":42,"tag":152,"props":761,"children":763},{"className":762},[],[764],{"type":48,"value":765},"v21.0",{"type":48,"value":486},{"type":42,"tag":121,"props":768,"children":769},{},[770,776,778,784,786,793],{"type":42,"tag":152,"props":771,"children":773},{"className":772},[],[774],{"type":48,"value":775},"\"messaging_product\"",{"type":48,"value":777}," MUST be ",{"type":42,"tag":152,"props":779,"children":781},{"className":780},[],[782],{"type":48,"value":783},"\"whatsapp\"",{"type":48,"value":785}," in the JSON body; check ",{"type":42,"tag":75,"props":787,"children":790},{"href":788,"rel":789},"https:\u002F\u002Fdevelopers.facebook.com\u002Fdocs\u002Fgraph-api\u002Fchangelog",[79],[791],{"type":48,"value":792},"Meta's Graph API changelog",{"type":48,"value":794}," for the supported Meta Graph API version",{"type":42,"tag":121,"props":796,"children":797},{},[798,803],{"type":42,"tag":152,"props":799,"children":801},{"className":800},[],[802],{"type":48,"value":596},{"type":48,"value":804}," is blob type — MUST base64-encode the JSON payload",{"type":42,"tag":121,"props":806,"children":807},{},[808,810,816],{"type":48,"value":809},"A successful ",{"type":42,"tag":152,"props":811,"children":813},{"className":812},[],[814],{"type":48,"value":815},"messageId",{"type":48,"value":817}," means queued, not delivered",{"type":42,"tag":121,"props":819,"children":820},{},[821],{"type":48,"value":822},"You MUST ask for all required parameters upfront in a single prompt",{"type":42,"tag":121,"props":824,"children":825},{},[826],{"type":48,"value":827},"You MUST accept parameters as individual values, JSON objects, or file references",{"type":42,"tag":121,"props":829,"children":830},{},[831],{"type":48,"value":832},"You MUST explain each step before executing",{"type":42,"tag":121,"props":834,"children":835},{},[836],{"type":48,"value":837},"You SHOULD confirm all parameters with the user before executing",{"type":42,"tag":121,"props":839,"children":840},{},[841],{"type":48,"value":842},"You MUST respect the user's decision to abort",{"type":42,"tag":121,"props":844,"children":845},{},[846],{"type":48,"value":847},"You MUST NOT send more than 5 messages per batch without user confirmation",{"type":42,"tag":121,"props":849,"children":850},{},[851],{"type":48,"value":852},"You MUST NOT create or access credentials directly",{"type":42,"tag":58,"props":854,"children":855},{},[856,857,863],{"type":48,"value":541},{"type":42,"tag":75,"props":858,"children":860},{"href":859},"references\u002Fsending-messages.md",[861],{"type":48,"value":862},"sending-messages.md",{"type":48,"value":548},{"type":42,"tag":102,"props":865,"children":867},{"id":866},"_4-manage-media",[868],{"type":48,"value":869},"4. Manage Media",{"type":42,"tag":58,"props":871,"children":872},{},[873],{"type":48,"value":874},"Upload, retrieve, and delete media for messages and template headers.",{"type":42,"tag":117,"props":876,"children":877},{},[878,888,899,910],{"type":42,"tag":121,"props":879,"children":880},{},[881,886],{"type":42,"tag":152,"props":882,"children":884},{"className":883},[],[885],{"type":48,"value":642},{"type":48,"value":887},": upload media, returns reusable media ID",{"type":42,"tag":121,"props":889,"children":890},{},[891,897],{"type":42,"tag":152,"props":892,"children":894},{"className":893},[],[895],{"type":48,"value":896},"create-whatsapp-message-template-media",{"type":48,"value":898},": upload media specifically for template headers",{"type":42,"tag":121,"props":900,"children":901},{},[902,908],{"type":42,"tag":152,"props":903,"children":905},{"className":904},[],[906],{"type":48,"value":907},"get-whatsapp-message-media",{"type":48,"value":909},": retrieve media metadata\u002FURL by ID",{"type":42,"tag":121,"props":911,"children":912},{},[913,919],{"type":42,"tag":152,"props":914,"children":916},{"className":915},[],[917],{"type":48,"value":918},"delete-whatsapp-message-media",{"type":48,"value":920},": remove uploaded media",{"type":42,"tag":58,"props":922,"children":923},{},[924,925,931],{"type":48,"value":541},{"type":42,"tag":75,"props":926,"children":928},{"href":927},"references\u002Fmanaging-media.md",[929],{"type":48,"value":930},"managing-media.md",{"type":48,"value":548},{"type":42,"tag":102,"props":933,"children":935},{"id":934},"_5-configure-event-destinations",[936],{"type":48,"value":937},"5. Configure Event Destinations",{"type":42,"tag":58,"props":939,"children":940},{},[941],{"type":48,"value":942},"Set up delivery tracking, template status notifications, and reclassification alerts.",{"type":42,"tag":58,"props":944,"children":945},{},[946,948,954],{"type":48,"value":947},"Set up delivery tracking, template status notifications, and reclassification alerts. A WABA can only have one event destination. See ",{"type":42,"tag":75,"props":949,"children":951},{"href":950},"references\u002Fconfiguring-event-destinations.md",[952],{"type":48,"value":953},"configuring-event-destinations.md",{"type":48,"value":955}," for prerequisites (IAM role, SNS topic with KMS encryption, HTTPS-only subscription endpoints, condition keys) and full security controls.",{"type":42,"tag":102,"props":957,"children":959},{"id":958},"_6-troubleshoot-delivery",[960],{"type":48,"value":961},"6. Troubleshoot Delivery",{"type":42,"tag":58,"props":963,"children":964},{},[965],{"type":48,"value":966},"Diagnostic flow: WABA status → phone number → templates → event destinations → quotas.",{"type":42,"tag":117,"props":968,"children":969},{},[970,981,992,1003,1008,1013,1018],{"type":42,"tag":121,"props":971,"children":972},{},[973,979],{"type":42,"tag":152,"props":974,"children":976},{"className":975},[],[977],{"type":48,"value":978},"get-linked-whatsapp-business-account",{"type":48,"value":980},": registration MUST be COMPLETE",{"type":42,"tag":121,"props":982,"children":983},{},[984,990],{"type":42,"tag":152,"props":985,"children":987},{"className":986},[],[988],{"type":48,"value":989},"get-linked-whatsapp-business-account-phone-number",{"type":48,"value":991},": verify phone number health",{"type":42,"tag":121,"props":993,"children":994},{},[995,1001],{"type":42,"tag":152,"props":996,"children":998},{"className":997},[],[999],{"type":48,"value":1000},"list-linked-whatsapp-business-accounts",{"type":48,"value":1002},": list all WABAs",{"type":42,"tag":121,"props":1004,"children":1005},{},[1006],{"type":48,"value":1007},"Template reclassified: detectable via event destinations (real-time) or by listing templates and comparing categories; delete and recreate",{"type":42,"tag":121,"props":1009,"children":1010},{},[1011],{"type":48,"value":1012},"24h window expired: use template message instead",{"type":42,"tag":121,"props":1014,"children":1015},{},[1016],{"type":48,"value":1017},"Rate limiting: new WABAs have lower limits; increases with quality",{"type":42,"tag":121,"props":1019,"children":1020},{},[1021],{"type":48,"value":1022},"Recipient without WhatsApp: silently dropped",{"type":42,"tag":58,"props":1024,"children":1025},{},[1026,1027,1033],{"type":48,"value":541},{"type":42,"tag":75,"props":1028,"children":1030},{"href":1029},"references\u002Ftroubleshooting-delivery.md",[1031],{"type":48,"value":1032},"troubleshooting-delivery.md",{"type":48,"value":548},{"type":42,"tag":51,"props":1035,"children":1037},{"id":1036},"quick-reference-common-errors",[1038],{"type":48,"value":1039},"Quick Reference — Common Errors",{"type":42,"tag":117,"props":1041,"children":1042},{},[1043,1053,1076,1086,1096,1119,1129],{"type":42,"tag":121,"props":1044,"children":1045},{},[1046,1051],{"type":42,"tag":67,"props":1047,"children":1048},{},[1049],{"type":48,"value":1050},"Access denied",{"type":48,"value":1052},": verify IAM permissions scoped to WABA\u002Fphone number ARNs",{"type":42,"tag":121,"props":1054,"children":1055},{},[1056,1061,1063,1069,1070],{"type":42,"tag":67,"props":1057,"children":1058},{},[1059],{"type":48,"value":1060},"Template rejected",{"type":48,"value":1062},": body must match category; include ",{"type":42,"tag":152,"props":1064,"children":1066},{"className":1065},[],[1067],{"type":48,"value":1068},"parameter_format",{"type":48,"value":463},{"type":42,"tag":152,"props":1071,"children":1073},{"className":1072},[],[1074],{"type":48,"value":1075},"example",{"type":42,"tag":121,"props":1077,"children":1078},{},[1079,1084],{"type":42,"tag":67,"props":1080,"children":1081},{},[1082],{"type":48,"value":1083},"Template reclassified",{"type":48,"value":1085},": configure event destinations to detect; delete and recreate",{"type":42,"tag":121,"props":1087,"children":1088},{},[1089,1094],{"type":42,"tag":67,"props":1090,"children":1091},{},[1092],{"type":48,"value":1093},"24h window expired",{"type":48,"value":1095},": use template message instead of freeform",{"type":42,"tag":121,"props":1097,"children":1098},{},[1099,1104,1106,1112,1114],{"type":42,"tag":67,"props":1100,"children":1101},{},[1102],{"type":48,"value":1103},"Send fails",{"type":48,"value":1105},": ",{"type":42,"tag":152,"props":1107,"children":1109},{"className":1108},[],[1110],{"type":48,"value":1111},"--origination-phone-number-id",{"type":48,"value":1113}," is the ID (not phone number); recipient E.164 with ",{"type":42,"tag":152,"props":1115,"children":1117},{"className":1116},[],[1118],{"type":48,"value":580},{"type":42,"tag":121,"props":1120,"children":1121},{},[1122,1127],{"type":42,"tag":67,"props":1123,"children":1124},{},[1125],{"type":48,"value":1126},"Queued but not delivered",{"type":48,"value":1128},": 200 = queued; configure event destinations for status",{"type":42,"tag":121,"props":1130,"children":1131},{},[1132,1137],{"type":42,"tag":67,"props":1133,"children":1134},{},[1135],{"type":48,"value":1136},"Media URL inaccessible",{"type":48,"value":1138},": must be publicly accessible HTTPS",{"type":42,"tag":51,"props":1140,"children":1142},{"id":1141},"security-considerations",[1143],{"type":48,"value":1144},"Security Considerations",{"type":42,"tag":117,"props":1146,"children":1147},{},[1148,1161,1166,1171,1184,1189,1194,1199,1204,1209,1229],{"type":42,"tag":121,"props":1149,"children":1150},{},[1151,1153,1159],{"type":48,"value":1152},"Use least-privilege IAM policies scoped to specific ",{"type":42,"tag":152,"props":1154,"children":1156},{"className":1155},[],[1157],{"type":48,"value":1158},"social-messaging:",{"type":48,"value":1160}," actions and WABA\u002Fphone number ARNs",{"type":42,"tag":121,"props":1162,"children":1163},{},[1164],{"type":48,"value":1165},"Use ephemeral credentials (IAM roles) instead of long-lived access keys",{"type":42,"tag":121,"props":1167,"children":1168},{},[1169],{"type":48,"value":1170},"Store secrets in AWS Secrets Manager or Parameter Store — never in code or environment variables",{"type":42,"tag":121,"props":1172,"children":1173},{},[1174,1176,1182],{"type":48,"value":1175},"Enable CloudTrail for auditing all ",{"type":42,"tag":152,"props":1177,"children":1179},{"className":1178},[],[1180],{"type":48,"value":1181},"social-messaging",{"type":48,"value":1183}," API calls; encrypt logs with KMS CMK",{"type":42,"tag":121,"props":1185,"children":1186},{},[1187],{"type":48,"value":1188},"Encrypt SNS topics for event destinations with KMS (callbacks contain recipient metadata)",{"type":42,"tag":121,"props":1190,"children":1191},{},[1192],{"type":48,"value":1193},"Encrypt CloudWatch Logs with KMS if monitoring social-messaging activity",{"type":42,"tag":121,"props":1195,"children":1196},{},[1197],{"type":48,"value":1198},"Avoid sensitive data in template parameters and freeform message content (they appear in CloudTrail logs)",{"type":42,"tag":121,"props":1200,"children":1201},{},[1202],{"type":48,"value":1203},"Validate recipient phone numbers to prevent unauthorized messaging",{"type":42,"tag":121,"props":1205,"children":1206},{},[1207],{"type":48,"value":1208},"Verify SNS subscription endpoints are authorized by your team — validate that all subscribed email addresses and systems belong to personnel\u002Fsystems that should receive sensitive delivery status and recipient metadata before confirming subscriptions. Use HTTPS-only endpoints",{"type":42,"tag":121,"props":1210,"children":1211},{},[1212,1214,1220,1221,1227],{"type":48,"value":1213},"Add condition keys (",{"type":42,"tag":152,"props":1215,"children":1217},{"className":1216},[],[1218],{"type":48,"value":1219},"aws:SourceArn",{"type":48,"value":180},{"type":42,"tag":152,"props":1222,"children":1224},{"className":1223},[],[1225],{"type":48,"value":1226},"aws:SourceAccount",{"type":48,"value":1228},") to SNS topic policies to prevent confused deputy attacks",{"type":42,"tag":121,"props":1230,"children":1231},{},[1232],{"type":48,"value":1233},"Implement rate limiting via service quotas and CloudWatch alarms on send rates",{"type":42,"tag":51,"props":1235,"children":1237},{"id":1236},"additional-resources",[1238],{"type":48,"value":1239},"Additional Resources",{"type":42,"tag":117,"props":1241,"children":1242},{},[1243,1253,1263,1273,1283,1293,1303,1313,1323],{"type":42,"tag":121,"props":1244,"children":1245},{},[1246],{"type":42,"tag":75,"props":1247,"children":1250},{"href":1248,"rel":1249},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fsocial-messaging\u002Flatest\u002Fuserguide\u002Fwhat-is-service.html",[79],[1251],{"type":48,"value":1252},"AWS End User Messaging Social User Guide",{"type":42,"tag":121,"props":1254,"children":1255},{},[1256],{"type":42,"tag":75,"props":1257,"children":1260},{"href":1258,"rel":1259},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fsocialmessaging\u002F",[79],[1261],{"type":48,"value":1262},"AWS CLI socialmessaging Reference",{"type":42,"tag":121,"props":1264,"children":1265},{},[1266],{"type":42,"tag":75,"props":1267,"children":1270},{"href":1268,"rel":1269},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fsocial-messaging\u002Flatest\u002Fuserguide\u002Fgetting-started-whatsapp.html",[79],[1271],{"type":48,"value":1272},"Getting Started with WhatsApp",{"type":42,"tag":121,"props":1274,"children":1275},{},[1276],{"type":42,"tag":75,"props":1277,"children":1280},{"href":1278,"rel":1279},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fsocial-messaging\u002Flatest\u002Fuserguide\u002Fmanaging-event-destinations-add.html",[79],[1281],{"type":48,"value":1282},"Managing Event Destinations",{"type":42,"tag":121,"props":1284,"children":1285},{},[1286],{"type":42,"tag":75,"props":1287,"children":1290},{"href":1288,"rel":1289},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fsocial-messaging\u002Flatest\u002Fuserguide\u002Fquotas.html",[79],[1291],{"type":48,"value":1292},"Service Quotas",{"type":42,"tag":121,"props":1294,"children":1295},{},[1296],{"type":42,"tag":75,"props":1297,"children":1300},{"href":1298,"rel":1299},"https:\u002F\u002Fdocs.aws.amazon.com\u002FIAM\u002Flatest\u002FUserGuide\u002Fbest-practices.html",[79],[1301],{"type":48,"value":1302},"IAM Security Best Practices",{"type":42,"tag":121,"props":1304,"children":1305},{},[1306],{"type":42,"tag":75,"props":1307,"children":1310},{"href":1308,"rel":1309},"https:\u002F\u002Fdocs.aws.amazon.com\u002FIAM\u002Flatest\u002FUserGuide\u002Fconfused-deputy.html",[79],[1311],{"type":48,"value":1312},"Confused Deputy Prevention",{"type":42,"tag":121,"props":1314,"children":1315},{},[1316],{"type":42,"tag":75,"props":1317,"children":1320},{"href":1318,"rel":1319},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fsns-security-best-practices.html",[79],[1321],{"type":48,"value":1322},"SNS Data Protection Best Practices",{"type":42,"tag":121,"props":1324,"children":1325},{},[1326],{"type":42,"tag":75,"props":1327,"children":1330},{"href":1328,"rel":1329},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fwellarchitected\u002Flatest\u002Fsecurity-pillar\u002Fwelcome.html",[79],[1331],{"type":48,"value":1332},"AWS Well-Architected Security Pillar",{"items":1334,"total":1509},[1335,1352,1367,1382,1397,1407,1422,1438,1452,1469,1482,1494],{"slug":1336,"name":1336,"fn":1337,"description":1338,"org":1339,"tags":1340,"stars":24,"repoUrl":25,"updatedAt":1351},"agents-build","add capabilities to existing agent projects","Use to extend an existing agent project with memory, app integration, VPC, multi-agent, migration, model, browser, code interpreter, payments, or resource removal. Triggers: \"add memory\", \"remember across sessions\", \"call agent from app\", \"invoke agent from code\", \"agent auth\", \"streaming\", \"VPC\", \"VPC connectivity\", \"can't reach from VPC\", \"multi-agent\", \"A2A\", \"A2A auth\", \"orchestrator not delegating\", \"specialist not called\", \"migrate Bedrock Agent\", \"migration issue\", \"change model\", \"browser tool\", \"code interpreter\", \"delete agent\", \"tear down\", \"agentcore remove\", \"cross-account memory\", \"add payments capability to my agent\", \"wire payments plugin\", \"payments middleware for my agent\", \"integrate x402 payments with the agent I'm building\", \"enable my agent project with x402 payments\". External APIs via Gateway: use agents-connect. New project: use agents-get-started. CLI\u002Fdev-server errors: use agents-debug. Runtime x402 payments: use agents-pay. Migration-specific Strands vs LangGraph routes here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1341,1344,1347,1348],{"name":1342,"slug":1343,"type":15},"Agents","agents",{"name":1345,"slug":1346,"type":15},"Automation","automation",{"name":23,"slug":8,"type":15},{"name":1349,"slug":1350,"type":15},"Engineering","engineering","2026-08-07T04:38:08.981896",{"slug":1353,"name":1353,"fn":1354,"description":1355,"org":1356,"tags":1357,"stars":24,"repoUrl":25,"updatedAt":1366},"agents-connect","connect agents to external services","Use when connecting your agent to external APIs, tools, or services via Gateway, or restricting tool access with Cedar policies. Handles gateway setup, target types, outbound auth (OAuth, API key, IAM), credentials, and Cedar policy authoring. Triggers on: \"connect to API\", \"add gateway\", \"connect to MCP server\", \"Lambda tools\", \"OpenAPI\", \"gateway target\", \"Cedar policy\", \"restrict tools\", \"policy engine\", \"gateway auth error\", \"store API key\", \"outbound credential\", \"env var API key\", \"API key None after deploy\", \"credential not available after deploy\", \"should this be a gateway target\", \"give my agent tools\", \"add tools to agent\". Not for inbound auth (who can call your agent) — use agents-harden. Not for debugging agent behavior — use agents-debug. Not for VPC networking errors (agent can't reach APIs due to VPC) — use agents-build. Not for creating or hosting a new MCP server project — use agents-get-started.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1358,1359,1362,1365],{"name":1342,"slug":1343,"type":15},{"name":1360,"slug":1361,"type":15},"API Development","api-development",{"name":1363,"slug":1364,"type":15},"Authentication","authentication",{"name":23,"slug":8,"type":15},"2026-07-16T06:00:38.866147",{"slug":1368,"name":1368,"fn":1369,"description":1370,"org":1371,"tags":1372,"stars":24,"repoUrl":25,"updatedAt":1381},"agents-debug","debug agent and environment issues","Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes. Also checks prerequisites when the CLI itself isn't working. Triggers on: \"agent not working\", \"wrong answer\", \"agent error\", \"tool call failing\", \"debug agent\", \"check logs\", \"read traces\", \"broken\", \"500 error\", \"424 error\", \"model access denied\", \"command not found\", \"stuck in DELETING\", \"maxVms exceeded\", \"cold start diagnosis\", \"cold start slow\", \"agentcore create error\", \"create failed\", \"exit code 7\", \"connection refused local dev\". Not for deploy failures — use agents-deploy. Not for performance tuning without errors — use agents-optimize. Not for VPC configuration — use agents-build. Not for observability setup or missing logs — use agents-optimize.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1373,1374,1375,1378],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1376,"slug":1377,"type":15},"Debugging","debugging",{"name":1379,"slug":1380,"type":15},"Observability","observability","2026-07-16T06:00:44.679093",{"slug":1383,"name":1383,"fn":1384,"description":1385,"org":1386,"tags":1387,"stars":24,"repoUrl":25,"updatedAt":1396},"agents-deploy","deploy AI agents to AWS","Use when deploying your agent to AWS, or when a deploy has failed. Handles pre-flight validation, CDK\u002FIAM\u002Fquota error diagnosis, version management, rollback, and canary deployments. Triggers on: \"deploy my agent\", \"agentcore deploy\", \"deploy failed\", \"CDK error\", \"rollback\", \"canary deploy\", \"pin version\", \"redeploy\", \"deploy stuck\". Not for production hardening — use agents-harden. Not for adding capabilities before deploy — use agents-build or agents-connect. Not for VPC configuration errors — use agents-build.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1388,1389,1390,1393],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1391,"slug":1392,"type":15},"CI\u002FCD","ci-cd",{"name":1394,"slug":1395,"type":15},"Deployment","deployment","2026-07-12T08:42:55.059577",{"slug":1398,"name":1398,"fn":1399,"description":1400,"org":1401,"tags":1402,"stars":24,"repoUrl":25,"updatedAt":1406},"agents-get-started","scaffold and deploy new agent projects","Use when a developer wants to create a new agent project or get started with AgentCore. Handles framework selection, project scaffolding, first deploy, and first invocation. Triggers on: \"build an agent\", \"create an agent\", \"get started\", \"new project\", \"agentcore create\", \"which framework\", \"Strands vs LangGraph\", \"hello world agent\", \"first agent\", \"create MCP server\", \"host MCP server\", \"agentcore dev\", \"dev server\", \"what port\", \"local development\". Not for adding capabilities to existing projects — use agents-build or agents-connect. Strands vs LangGraph in a migration context routes to agents-build, not here. Connecting to an existing MCP server routes to agents-connect, not here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1403,1404,1405],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1394,"slug":1395,"type":15},"2026-07-12T08:42:51.963247",{"slug":1408,"name":1408,"fn":1409,"description":1410,"org":1411,"tags":1412,"stars":24,"repoUrl":25,"updatedAt":1421},"agents-harden","harden agents for production","Use when preparing your agent for production — IAM scoping, inbound auth (JWT, SigV4), secrets management, cold start optimization, session lifecycle, rate limiting, input validation, and quota guidance. Triggers on: \"production checklist\", \"harden agent\", \"production ready\", \"secure agent\", \"inbound auth\", \"going live\", \"cold start optimization\", \"session lifecycle\", \"StopRuntimeSession\", \"quota\", \"throttling\", \"maxVms\", \"rate limit\", \"security audit of outbound API calls\", \"gateway target audit for production\", \"restrict who can call\", \"lock down endpoint\", \"only our app can call\". Not for Cedar tool-restriction policies — use agents-connect. Not for quality measurement — use agents-optimize. Not for outbound credential storage or API key wiring — use agents-connect. Not for A2A agent-to-agent auth — use agents-build. Cold start observation and diagnosis (not optimization) routes to agents-debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1413,1414,1415,1418],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1416,"slug":1417,"type":15},"Best Practices","best-practices",{"name":1419,"slug":1420,"type":15},"Security","security","2026-07-16T06:00:42.174705",{"slug":1423,"name":1423,"fn":1424,"description":1425,"org":1426,"tags":1427,"stars":24,"repoUrl":25,"updatedAt":1437},"agents-optimize","optimize agent quality and performance","Use when measuring or improving agent quality and performance — set up evaluators, online monitoring, CI\u002FCD quality gates, observability, or cost optimization. Triggers on: \"evaluate my agent\", \"add evaluator\", \"measure quality\", \"quality gate\", \"run evals\", \"agent too slow\", \"why is it slow\", \"reduce latency\", \"set up observability\", \"CloudWatch dashboard\", \"how much does my agent cost\", \"cost optimization\", \"logs not showing up\", \"logs missing\", \"spans not found\", \"eval failing\", \"eval error\", \"dev traces\", \"local traces\", \"agentcore dev traces\", \"traces to CloudWatch\". Not for debugging errors or crashes — use agents-debug. Slow but correct routes here; broken routes to debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1428,1429,1430,1433,1434],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1431,"slug":1432,"type":15},"Evals","evals",{"name":1379,"slug":1380,"type":15},{"name":1435,"slug":1436,"type":15},"Performance","performance","2026-07-12T08:42:56.488105",{"slug":1439,"name":1439,"fn":1440,"description":1441,"org":1442,"tags":1443,"stars":24,"repoUrl":25,"updatedAt":1451},"agents-pay","handle x402 payments for agent tasks","Use when THIS agent needs to pay for x402-protected content at runtime: hitting a paywall mid-task, settling it via AgentCore Payments, and applying operator-defined spend limits. Covers payment setup, policy, session budgets, and troubleshooting. Triggers on: \"my agent hit a 402 while calling an API\", \"a tool call returned 402 Payment Required\", \"my agent needs to pay for x402-protected content\", \"let the agent pay for content, capped at $5 per session\", \"set a spend limit for the agent\", \"ProcessPayment failed\", or \"why did my agent refuse to pay\". Not for BUILDING payment capability for end users, including wallets and framework middleware; use agents-build and references\u002Fpayments.md. For non-paid APIs via Gateway use agents-connect. For inbound auth use agents-harden. For project scaffolding use agents-get-started.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1444,1445,1446,1449],{"name":1342,"slug":1343,"type":15},{"name":1345,"slug":1346,"type":15},{"name":1447,"slug":1448,"type":15},"Payments","payments",{"name":1450,"slug":1450,"type":15},"x402","2026-08-10T04:16:31.844309",{"slug":1453,"name":1453,"fn":1454,"description":1455,"org":1456,"tags":1457,"stars":24,"repoUrl":25,"updatedAt":1468},"amazon-aurora-mysql","manage Amazon Aurora MySQL clusters","Amazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query). Trigger for Aurora MySQL cluster operations, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or MySQL upgrade planning. Aurora MySQL uses full (VPC-based) configuration — express configuration is PostgreSQL-only. For Aurora PostgreSQL, use amazon-aurora-postgresql instead. Contains safety guardrails and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1458,1459,1462,1465],{"name":23,"slug":8,"type":15},{"name":1460,"slug":1461,"type":15},"Database","database",{"name":1463,"slug":1464,"type":15},"MySQL","mysql",{"name":1466,"slug":1467,"type":15},"Serverless","serverless","2026-07-12T08:43:13.27939",{"slug":1470,"name":1470,"fn":1471,"description":1472,"org":1473,"tags":1474,"stars":24,"repoUrl":25,"updatedAt":1481},"amazon-aurora-postgresql","configure Amazon Aurora PostgreSQL clusters","Amazon Aurora PostgreSQL — creates, modifies, and advises on Aurora PostgreSQL clusters specifically (PostgreSQL-compatible engine, Aurora serverless, express configuration, pgvector, Babelfish). Trigger for Aurora PostgreSQL cluster operations, express-configuration quick-start, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or PostgreSQL upgrade planning. For Aurora MySQL, use amazon-aurora-mysql instead. Contains safety guardrails, express-first routing, and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1475,1476,1477,1480],{"name":23,"slug":8,"type":15},{"name":1460,"slug":1461,"type":15},{"name":1478,"slug":1479,"type":15},"PostgreSQL","postgresql",{"name":1466,"slug":1467,"type":15},"2026-07-16T06:00:34.789624",{"slug":1483,"name":1483,"fn":1484,"description":1485,"org":1486,"tags":1487,"stars":24,"repoUrl":25,"updatedAt":1493},"amazon-bedrock","build generative AI apps with Amazon Bedrock","Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents, Guardrails, and AgentCore (including the Harness managed agent loop). Use when invoking models, setting up Knowledge Bases, creating agents, applying guardrails, deploying to AgentCore, migrating\u002Fporting\u002Fconverting a Bedrock Agent (including inline agents) to an AgentCore Harness, troubleshooting Bedrock errors (ThrottlingException, AccessDeniedException), or choosing models (Claude, Llama, Nova, Titan). ALSO USE for prompt caching, quota health checks and throttling diagnosis, cost attribution, migrating between Claude model generations, chunking strategies, API selection (Converse vs InvokeModel), and model selection. Also covers AgentCore Payments setup (x402, microtransactions, Payment Manager, Coinbase CDP, Stripe Privy, 402 Payment Required, paid endpoint). NOT for custom model training, Rekognition, or Comprehend.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1488,1489,1490],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1491,"slug":1492,"type":15},"LLM","llm","2026-08-07T04:38:13.03499",{"slug":1495,"name":1495,"fn":1496,"description":1497,"org":1498,"tags":1499,"stars":24,"repoUrl":25,"updatedAt":1508},"amazon-documentdb","manage Amazon DocumentDB clusters","Manages Amazon DocumentDB end-to-end — serverless-on-8.0 cluster setup, TLS\u002FVPC\u002Fdriver config, flexible-schema and vector-search data modeling, MongoDB compatibility assessment, DMS-based migration, slow-query diagnosis, major version upgrades (4.0→5.0→8.0), Well-Architected reviews (41-check wa_review.py), cost estimation, and security hardening. Retrieve for every DocumentDB question and when the user asks to set up or migrate MongoDB to AWS — DocumentDB is AWS's MongoDB-compatible managed database. Triggers: JSON document store, document database, MongoDB on AWS, Nested fields, Lambda cannot connect, TLS handshake, VPC port 27017, IAM auth, Secrets Manager, encryption at rest, $graphLookup, flexible schema, COLLSCAN, compound index, DMS migration, CDC cutover, $vectorSearch, RAG, Global Clusters, DR replication, cost sizing, audit, health check, production-readiness.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1500,1501,1502,1505],{"name":23,"slug":8,"type":15},{"name":1460,"slug":1461,"type":15},{"name":1503,"slug":1504,"type":15},"MongoDB","mongodb",{"name":1506,"slug":1507,"type":15},"NoSQL","nosql","2026-07-12T08:43:00.455878",122,{"items":1511,"total":1561},[1512,1519,1526,1533,1540,1546,1553],{"slug":1336,"name":1336,"fn":1337,"description":1338,"org":1513,"tags":1514,"stars":24,"repoUrl":25,"updatedAt":1351},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1515,1516,1517,1518],{"name":1342,"slug":1343,"type":15},{"name":1345,"slug":1346,"type":15},{"name":23,"slug":8,"type":15},{"name":1349,"slug":1350,"type":15},{"slug":1353,"name":1353,"fn":1354,"description":1355,"org":1520,"tags":1521,"stars":24,"repoUrl":25,"updatedAt":1366},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1522,1523,1524,1525],{"name":1342,"slug":1343,"type":15},{"name":1360,"slug":1361,"type":15},{"name":1363,"slug":1364,"type":15},{"name":23,"slug":8,"type":15},{"slug":1368,"name":1368,"fn":1369,"description":1370,"org":1527,"tags":1528,"stars":24,"repoUrl":25,"updatedAt":1381},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1529,1530,1531,1532],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1376,"slug":1377,"type":15},{"name":1379,"slug":1380,"type":15},{"slug":1383,"name":1383,"fn":1384,"description":1385,"org":1534,"tags":1535,"stars":24,"repoUrl":25,"updatedAt":1396},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1536,1537,1538,1539],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1391,"slug":1392,"type":15},{"name":1394,"slug":1395,"type":15},{"slug":1398,"name":1398,"fn":1399,"description":1400,"org":1541,"tags":1542,"stars":24,"repoUrl":25,"updatedAt":1406},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1543,1544,1545],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1394,"slug":1395,"type":15},{"slug":1408,"name":1408,"fn":1409,"description":1410,"org":1547,"tags":1548,"stars":24,"repoUrl":25,"updatedAt":1421},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1549,1550,1551,1552],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1416,"slug":1417,"type":15},{"name":1419,"slug":1420,"type":15},{"slug":1423,"name":1423,"fn":1424,"description":1425,"org":1554,"tags":1555,"stars":24,"repoUrl":25,"updatedAt":1437},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1556,1557,1558,1559,1560],{"name":1342,"slug":1343,"type":15},{"name":23,"slug":8,"type":15},{"name":1431,"slug":1432,"type":15},{"name":1379,"slug":1380,"type":15},{"name":1435,"slug":1436,"type":15},120]