External API Setup

18 views
Skip to first unread message

Blessing Tsenesa

unread,
Nov 4, 2024, 1:39:10 PM11/4/24
to rapidpro-dev
Hello

Just looking for assistance in setting up with my SMS aggregator using HTTP API.

I am required to send a request as follows

https://mobilemessaging.econet.co.zw/client/api/sendmessage?apikey=APIKey&mobiles=2637737000000&sms=Send SMS through HTTP API&senderid=ECONET

I have tried configuring the External API but it doesnt push the messages.

What may I be missing in the setup especially on the options content type and request body so that Rapidpro can send out the message in the correct format

Regards

Blessing

Aly Radwan

unread,
Nov 6, 2024, 3:50:23 AM11/6/24
to rapidpro-dev
You need to pass the query_params like these 
id={{id}}&text={{text}}&to={{to}}&to_no_plus={{to_no_plus}}&from={{from}}&from_no_plus={{from_no_plus}}&channel={{channel}}

Blessing Tsenesa

unread,
Nov 6, 2024, 4:05:28 AM11/6/24
to Aly Radwan, rapidpro-dev

Thanks Aly. I ended up using the XML version of their API which worked eithout issues


--
You received this message because you are subscribed to the Google Groups "rapidpro-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapidpro-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rapidpro-dev/d0ee238a-53ec-42c4-aec6-03ab1714781an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages