Added use URL SMS provider so anyone can bridge to their own SMS solution (#4478)

This commit is contained in:
Ylian Saint-Hilaire
2022-09-01 13:31:10 -07:00
parent 32b194fa50
commit dce036658e
3 changed files with 37 additions and 0 deletions

View File

@@ -1310,6 +1310,14 @@
"from": { "type": "string" }
},
"required": [ "provider", "apikey", "from" ]
},
{
"type": "object",
"properties": {
"provider": { "type": "string", "enum": [ "url" ] },
"url": { "type": "string", "description": "A http or https URL with {{phone}} and {{message}} in the string. These will be replaced with the URL encoded target phone number and message." }
},
"required": [ "url" ]
}
]
}