How to get the response from an API

I have an api to send sms messages.
What I want to do is get the response in Action Steps
If the response is good then it carries on with the steps.
If the response is bad then I send a response code.

The way the api send back the data is the following:
“data”: “OK:61411000000:788462687\n”
“data”: “BAD:04110000000:Invalid Number\n”

Anyone have any ideas ???

Community Page
Last updated: