messaging apis#304
Conversation
cassieemb
left a comment
There was a problem hiding this comment.
This is looking really good! I noticed one mismatch with the direction, but the other comments are non blocking suggestions.
Do we want to include the status callback body they will receive when the status callback URL is set as well? (the same status callback body will be used for RELAY SDK message callbacks and SWML send_sms status callbacks too)
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"project_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "delivered",
"to": "+15551234567",
"from": "+15559876543",
"body": "Hello World!",
"number_of_segments": 1,
"timestamp": "2026-03-17T22:26:57Z",
"error_code": null,
"error_message": null
}
cassieemb
left a comment
There was a problem hiding this comment.
LGTM! One thing I noticed on the preview is that the status callback link led to an empty page, but I was able to access the actual page from there - not sure if that's a preview issue or a real one.
link took me to -> https://signalwire-preview-8890b342-55dd-413d-ac48-907edbb16a32.docs.buildwithfern.com/docs/apis/rest/signalwire-rest/messages/webhooks/message-status-callback
following last option took me to https://signalwire-preview-8890b342-55dd-413d-ac48-907edbb16a32.docs.buildwithfern.com/docs/apis/rest/message-status-callback, which worked correctly
I'm approving in case this is a preview issue only, but will keep an eye out to reapprove if not
Looks like Fern isn't flagging broken links inside api specs, which is why this was uncaught. Pushing a fix :) |
Mirror the campaign-registry pattern: extract MessageStatusCallbackPayload to its own webhooks.tsp, attach @webhook at the messages namespace level with explicit MESSAGES_TAG, and add a Webhooks subsection under Messages in apis.yml. Auto-tag resolution failed because create() spreads CreateMessageRequest, so the model was never seen as an operation parameter; the explicit tag fixes the broken /messages/webhooks/message-status-callback link.

No description provided.