Improved
RCS rich messages, WhatsApp templates, delivery reasons and new AI guides
4 days ago by Tony Becker
A round-up of what's new in the Kudosity API and developer docs since June.
RCS
- Rich messages:
POST /v2/rcs/messagesnow sends images, video and rich cards as well as text. Setcontent_typetomediaorrich_card. A rich card can be a single standalone card or a carousel. - Suggested replies and actions: Add up to 11 suggestions under any message. When a recipient taps one, the
RCS_INBOUNDwebhook event arrives withmo.content_typeset toSUGGESTIONand thepostback_datayou supplied. - New guide: RCS Message Guide shows each message format with a request example, a phone preview, media file requirements and limits.
- New guide: Track an RCS message that falls back to SMS shows how to follow one message across both channels with webhooks.
- Updated guide: RCS Agent Setup Guide now covers creating, testing and launching an agent in the app.
Delivery reasons on status webhooks
Status events now tell you why a message ended up where it did, so your code can branch on the outcome:
reason_code: a machine-readable reason, such asDELIVERED_TO_HANDSET,HANDSET_UNREACHABLE,NOT_RCS_CAPABLE,RECIPIENT_BLOCKED,INVALID_RECIPIENTorEXPIRED. More values may be added, so treat a code you don't recognise as unclassified.reason: a human-readable explanation, where one is available.permanent: present andtruewhen retrying is likely to fail.
See About Webhooks.
WhatsApp
- New endpoint:
GET /v2/whatsapp/templateslists your account's templates with their content, approval status, category and language. - Campaign filter:
GET /v2/whatsapp/messagesacceptscampaign_id, and messages now return thecampaign_idthey belong to.
Webhooks
- Safe to repeat:
POST /v2/webhookwith the sameurlandfilteras an existing webhook returns that webhook with200 OKinstead of creating a duplicate. - Limit: An account can have up to 25 webhooks. Creating another returns
409 Conflict.
Senders
GET /v2/senders/registrations has new filters and sorting:
account_idaccepts one or more accounts and replaceschild_account_id, which is now deprecated.searchmatches on the sender or the child account's company name.registryandregistry_statusfilter alphanumeric registrations.sortandordercontrol the order of results.- Registrations can now have the status
SUBMITTED_TO_REGISTRY.
Errors
The Error Registry has been updated to match the API. It now includes entries for 402 Payment Required, 413 Request Entity Too Large, 422 Unprocessable Entity, 501 Not Implemented and 503 Service Unavailable.
AI and agents
- New: Getting started with AI and Get your first message working with your AI assistant.
- New: Agent Skills, LangChain Tools and Vercel AI SDK Tools.
- New: Vercel Connect & v0 and Bolt.
- Updated: Kudosity MCP Server now leads with the installable server.
Salesforce
- New: Assign User Permissions.