- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 12:47 AM
Hi All,
is anyone configured SMS notificaiton using REST?
i have a requirement to configure SMS notification. my customer has sms subscription of https://platform.clickatell.com/. How can we send SMS notification using REST ?
it would be great if anyone can share the document.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2017 12:37 AM
One more thing, In the basic authentication, You should be providing the credentials to access clickatell and not your Service Now Id and password, May be this is the issue.
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 12:52 AM
Hi,
You will need to check with https://platform.clickatell.com/ whether they support SMS sending via REST web services and get the request format(query parameters) and related endpoint information.
With this information, You can create a rest message in Service Now that basically calls the endpoint and send SMS after authentication.
Thanks
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 01:07 AM
Hi Alikutty,
we have the information
curl -i \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: xxxxxxxxxxxxxxxxxxxxxxxxx" \
-d '{"content": "Test Message Text", "to": ["+91xxxxxxxxxxxx"]}' \
-s https://platform.clickatell.com/messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 01:19 AM
This information is good, Can you try creating a new Rest Message in Service Now and test it once?
Your endpoint should be https://platform.clickatell.com/messages
Add Authorization as Basic and add a user profile with your Id and password in it
Add Headers in the request for Content-Type and Accept
Once you have done this, create a new HTTP method for POST from the related tab
Authentication can be inherited from parent and update the same HTTP headers
In the content field, you can hard code the message {"content": "Test Message Text", "to": ["+91xxxxxxxxxxxx"]}
Use the Test related link to check if SMS is send out.
Thanks
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 06:14 PM