Action
This step allows you to call API or Webhook.
This API/Webhook step is helpful to technical users who want to pass data between different apps.
We suggest involving your developer if you are not aware of making API calls and their working mechanism.
How to use "API/Webhook" Action?
Let's drag-drop the API Call/Webhook action step on the journey's canvas.
Click on the step to configure your API call.
The API calls consist of the following things:
- URL - This is the API call endpoint that accepts the request on a required server.
- Method - Differing HTTP methods can be used on any endpoint that maps to application create, read, update, and delete (CRUD) operations.
- HTTP headers - You can pass authentication tokens or request variables required to execute the call.
- Body - Data is normally transmitted in the HTTP body in the form of RAW data, JSON or XML.
Use Case
Suppose you want to send an auto voicemail to your customer using Slybroadcast. You can use an API call to achieve it.
API documentation can be found over here: https://www.slybroadcast.com/documentation.php
Lets configure the API:
Method: Post
URL: https://www.mobile-sphere.com/gateway/vmb.php
Headers: multipart/form-data
c_uid - Your user id
c_password - Your password
c_callerID - Caller ID of campaign. This will appear within the recipient's voicemail-box.
c_phone - {{Contact.mobile}} This will pass contact's mobile number to the campaign.
c_record_audio - Audio file name as seen within your account. Case Sensitive.
c_date - now
c_method - Required when submitting a new campaign.
Comments
0 comments
Please sign in to leave a comment.