Setup webhook
Skill burstsms/kudosity-claude-code-plugin/skills/setup-webhook
Create and manage webhooks on the Kudosity platform. Use when the user wants to receive notifications for SMS delivery status, inbound messages, MMS events, link hits, or opt-outs.From its SKILL.md
npx -y skills add burstsms/kudosity-claude-code-plugin --skill setup-webhookAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.6 KB, as published. Nobody here has run it
Create & Manage Webhooks
Webhooks allow users to receive HTTP POST notifications when events occur, such as SMS delivery status changes, inbound messages, link clicks, and opt-outs.
Authentication
- Header:
x-api-key: {KUDOSITY_V2_API_KEY} - If the user hasn't configured credentials, direct them to run
/kudosity:setup
API Details
- Base URL:
https://api.transmitmessage.com - Content-Type:
application/json - Use the MCP
execute-requesttool with titleTransmit Message API
Create a Webhook
Endpoint: POST /v2/webhook
Required parameters:
name(string): Webhook name, 2-100 charactersurl(string): HTTPS URL that accepts JSON-encoded POST requests
Optional parameters:
filter(object): Filter which events trigger the webhookevent_type(array): Types of events to subscribe tosender(array): Filter by sender numberstatus(array): Filter by message status (for status events only)message_ref(array): Filter by message referencecampaign_id(array): Filter by campaign ID
rate_limit(integer): Max requests per second to your URL (max 10,000, 0 = system default)
Available Event Types
| Event Type | Description |
|---|---|
SMS_STATUS | SMS delivery status changes (SENT, ACCEPTED, DELIVERED, FAILED, SOFT_BOUNCE, HARD_BOUNCE, OTHER) |
SMS_INBOUND | Inbound SMS received from a recipient |
MMS_STATUS | MMS status changes (SENT, FAILED) |
MMS_INBOUND | Inbound MMS received from a recipient |
LINK_HIT | Recipient clicked a tracked link |
OPT_OUT | Recipient opted out via link or STOP message |
Filter Logic
- Within a filter array (e.g., multiple senders): conditions are combined with OR
- Between different filters (e.g., sender AND status): conditions are combined with AND
Example: Create a webhook for SMS delivery status and inbound messages
{
"method": "POST",
"url": "https://api.transmitmessage.com/v2/webhook",
"headers": [
{"name": "x-api-key", "value": "{KUDOSITY_V2_API_KEY}"},
{"name": "Content-Type", "value": "application/json"}
],
"postData": {
"mimeType": "application/json",
"text": "{\"name\": \"SMS Events\", \"url\": \"https://myapp.com/webhooks/sms\", \"filter\": {\"event_type\": [\"SMS_STATUS\", \"SMS_INBOUND\"]}}"
}
}
Example: Create a webhook filtered to specific statuses
{
"postData": {
"mimeType": "application/json",
"text": "{\"name\": \"Failed SMS Alerts\", \"url\": \"https://myapp.com/webhooks/failures\", \"filter\": {\"event_type\": [\"SMS_STATUS\"], \"status\": [\"FAILED\", \"HARD_BOUNCE\"]}}"
}
}
List All Webhooks
Endpoint: GET /v2/webhook
{
"method": "GET",
"url": "https://api.transmitmessage.com/v2/webhook",
"headers": [
{"name": "x-api-key", "value": "{KUDOSITY_V2_API_KEY}"}
]
}
Webhook Payload Examples
SMS Status Event
{
"event_type": "SMS_STATUS",
"timestamp": "2021-05-06T05:16:07Z",
"status": {
"type": "SMS",
"id": "a51ebe4e-a412-440e-a8d9-464e68a521cc",
"message_ref": "ncc5009d",
"recipient": "61435790000",
"sender": "61481074190",
"status": "DELIVERED"
}
}
SMS Inbound Event
{
"event_type": "SMS_INBOUND",
"timestamp": "2021-05-06T05:16:33Z",
"mo": {
"type": "SMS",
"id": "alss-2way-605b31c7-d2c49104",
"message": "Yes, I'm interested",
"recipient": "61481074190",
"sender": "61435790000"
}
}
Opt-Out Event
{
"event_type": "OPT_OUT",
"timestamp": "2021-05-06T05:16:20Z",
"opt_out": {
"source": "SMS_INBOUND",
"source_message": {
"type": "SMS",
"id": "a51ebe4e-a412-440e-a8d9-464e68a521cc",
"message": "Your promo message with opt-out link",
"message_ref": "ncc5009d",
"recipient": "61435790000",
"sender": "61481074190"
}
}
}
Important Notes
- Webhook URLs must use HTTPS
- The
event_typefield at the top level of the request body is deprecated — always usefilter.event_typeinstead - Rate limit defaults to the system limit if set to 0 or not specified
- Multiple status events can be triggered for a single message
- For inbound events, the
senderfilter is applied to therecipientfield (the number that received the inbound message) - Always confirm with the user which event types they need before creating the webhook