May be try this:
"actions": {
"sms": {
"webhook": {
"scheme": "https",
"host": "127.0.0.1",
"port": 80,
"method": "post",
"path": "/api/es/sms",
"params": {},
"headers": {
"Content-Type": "application/json"
},
"body": """{"phones":["077452236958"], "message": "ctx.payload.server: \\n ctx.error"}"""
}
}
}