# Dynatrace integration with SMS gateway (RiCH T2 via Rest API)

**URL:** <https://community.dynatrace.com/t/dynatrace-integration-with-sms-gateway-rich-t2-via-rest-api/40952>\
**Category:** Alerting\
**Tags:** problem-notification, problems-classic\
**Created:** [August 1, 2023, 7:12am UTC](https://community.dynatrace.com/t/dynatrace-integration-with-sms-gateway-rich-t2-via-rest-api/40952 "2023-08-01T07:12:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![con-yrakhangi](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@con-yrakhangi](https://community.dynatrace.com/u/con-yrakhangi)\
**Post date:** [August 1, 2023, 7:12am UTC](https://community.dynatrace.com/t/dynatrace-integration-with-sms-gateway-rich-t2-via-rest-api/40952/1 "2023-08-01T07:12:26Z")

</div>

Hello Experts

We have an SMS gateway called “RiCH T2,” which provides a REST API to send SMS notifications. Does anyone know how we can use this REST API to configure SMS alerting in Dynatrace?

Usually, we use this API in all our other applications by just supplying the below inputs.

1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User name and password (Static and fixed input)

2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sender (Static and fixed input)

3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text (Dynamic input based on event/problem)

4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Number(Static and fixed input)

5.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reference id (Static and fixed input)

“[https://xservices.rich.sa/RiCHClientServiceREST.svc/SendSMSloginGet?username=\*\*\*\*\*&password=\*\*\*\*\*&Sender=\*\*\*&Text=test\_dynatarce\_sms&number=\*\*\*\*\*&referenceid==REFID](https://xservices.rich.sa/RiCHClientServiceREST.svc/SendSMSloginGet?username=%5C*%5C*%5C*%5C*%5C*&password=%5C*%5C*%5C*%5C*%5C*&Sender=%5C*%5C*%5C*&Text=test%5C_dynatarce%5C_sms&number=%5C*%5C*%5C*%5C*%5C*&referenceid==REFID)”

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [September 7, 2023, 12:41pm UTC](https://community.dynatrace.com/t/dynatrace-integration-with-sms-gateway-rich-t2-via-rest-api/40952/2 "2023-09-07T12:41:38Z")

</div>

interesting method. You could cut out the gateway and just leverage the Dynatrace alerting via email and supply the carrier&nbsp;@ address and phone number to get SMS Messages on users phones.

---

<div class="post-metadata">

**Author:** ![con-yrakhangi](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@con-yrakhangi](https://community.dynatrace.com/u/con-yrakhangi)\
**Post date:** [September 7, 2023, 1:11pm UTC](https://community.dynatrace.com/t/dynatrace-integration-with-sms-gateway-rich-t2-via-rest-api/40952/3 "2023-09-07T13:11:32Z")

</div>

We have fixed this using vendor’s provided Rest API and custom payload.

**API:**

[https://xservices.rich.sa/RiCHClientServiceREST.svc/SendSmsToList](https://xservices.rich.sa/RiCHClientServiceREST.svc/SendSmsToList)

**Payload:**

{  
 “username”: “\*\*\*\*\*\*”,  
“password”: “\*\*\*\*\*\*”,  
“Sender”: “\*\*\*”,  
“Text”: “{{ProblemID}} - {State} - {{ProblemTitle}}”,  
“Array”: [  
“\*\*\*\*”,  
“\*\*\*\*”,  
“\*\*\*\*”  
],  
“MsgBodyType”: 0  
}
