Hi. Try setting data type to JSON… and check your browser’s developer options to track what the actual request looks like.
I see that to requires a JSON array… so that could also be the reason for failure.
For Google Chrome, you can see it in the Network tab of Dev Tool/Inspect Element window.
Also, I would recommend using the server action API step. This client side API action will expose your keys. It should not be an issue though if the key is domain locked… else, use server side API call.
Did you manage to get this working @updates?
I tried with to[] as suggested by @s.alpaslan and didn’t have much success {“content”: “My Message”, “to”: [“MOBILENUMBER”]}
I’ve had a few issues with client-side API Actions recently and have found it much more reliable to use Server Connect to link to an action that contains an API Action. It also makes it a bit easier to add forms/tables to a page (particularly across multiple pages without having to define the Schema each time)
This has intrigued me, I signed up for a test account and like @updates
Having difficulty working out the method of sending the following in ServerConnect API Connector. I did try setting the to as an array.
On the form make sure the name attribute for the inputs
reflects the POST variables you set up in Globals (Server Connect)
Once all set up, save it and then click ‘Define API Schema’ in the API Action step
The Authorization header should be completed already - just enter static values for the recipient (use the mobile number you set up in your account as the test number - in international format) and the message.
Click ‘Fetch Schema’ - you can show the response section at the bottom of this modal using the chevron underneath the Fetch Schema button.
It works. Thank you very much for your support @bpj !!
Suggestions: sometimes instead to search for something wrong… it is better to write Authorization correctly… and everything will works!!