---
title: Approval Workflow SMS Settings
slug: singleconnect-reference-guide-3-1-0/approval-workflow-sms-settings
description: Learn how to send approval SMS using two methods: HTTP via an SMS Proxy and SMPP via an SMSC. Discover the configuration requirements for each method, including setting parameters, encoding, and message body for HTTP, and configuring templates for SMPP. E
docTags: 
createdAt: 2022-07-27T11:49:50.000Z
---

There are two methods for sending approval SMS:

-  Over HTTP (via SMS Proxy)
-  Over SMPP (via SMSC)

To choose one of them:

1. Navigate to **Administration** > **System Config Man**.
2. Set the value of the “sms.channel” parameter and click **Save**.

**sms.channel**: This parameter defines the channel to be used. Available values are: **HTTP** and **SMPP**. Default value i&#x73;**&#x20;HTTP**.

:::hint{type="info"}
The mandatory System Config. Man. parameters starting with “smpp.” should be defined in order to be able to send / receive approvals via SMS over SMPP. Please refer to [APPENDIX 1: System Config Manager Parameters](docId\:bsmJRSdJSQeX4cGEVHAus) for these parameters.
:::

### Configuration for SMS over HTTP

In order to use the Single Connect connection and command approval workflows via SMS using an HTTP-based SMS Proxy:

1. Navigate to **Administration&#x20;**> **System Config Man**.
2. Set the value of the **approval.sms.http.url**, **approval.sms.http.headers**, **approval.sms.http.encoding**,**&#x20;connection.approval.sms.http.body**, and **command.approval.sms.http.body** parameters and clic&#x6B;**&#x20;Save**.

**approval.sms.http.url**: SMS sender  http URL
Ex: [http://api.smsexample.com/v1/send-sms](http://api.smsexample.com/v1/send-sms)

**approval.sms.http.headers**: HTTP SMS Header
Ex: Content-Type\:text/xml
**approval.sms.http.encoding**: Encoding format. Possible values: UTF-8, UTF-16BE
Ex: UTF-8

**connection.approval.sms.http.body**: The parameter must be set in the format below. Bold values must be replaced with real values.

:::Iframe{code="<request><authentication><username>5555552234</username><password>123456</password></authentication><order><sender>SENDERNAME</sender><sendDateTime></sendDateTime><message><text><![CDATA[Your approval is requested by %user%. You can manage the approval request by using the link: %approveRejectLink%]]></text><receipents><number>%phoneNumber%</number></receipents></message></order></request>" iframeHeight="0"}

:::


**command.approval.sms.http.body:** The parameter must be set in the format
below. Bold values must be replaced with real values.

:::Iframe{code="<request><authentication><username>5555552234</username><password>123456</password></authentication><order><sender>SENDERNAME</sender><sendDateTime></sendDateTime><message><text><![CDATA[Your approval is requested by %user%. You can manage the approval request by using the link: %approveRejectLink%]]></text><receipents><number>%phoneNumber%</number></receipents></message></order></request>" iframeHeight="0"}

:::

### Configuration for SMS over SMPP

In order to use the Single Connect connection and command approval workflows via SMS using SMPP connection:

1. Navigate to **Administration** > **System Config Man**.
2. Set the value of the “command.approval.sms.smpp.body” and “connection.approval.sms.smpp.body” parameters and click **Save**.

**connection.approval.sms.smpp.body**: SMS template for connection approvals.
It should be defined in the template below. Parameters with %...% should be kept.

&#x20;Approval request with id '%approval\_id%' has been made by %requester\_username% from the host '%requested\_host%', Reply this message with '%approval\_keyword% %approval\_id%' to approve, '%rejection\_keyword% %approval\_id%' to reject.                                                                                                                 <font color="#eb144c"></font>

:::hint{type="info"}
The available keywords to be used in these templates are:&#x20;%approval\_id%, %approval\_keyword%, %rejection\_keyword%, %requester\_username%, %requested\_host%, %selected\_username%
:::

**command.approval.sms.smpp.body**: SMS template for command approvals. It should be defined in the template below. Parameters with %...% should be kept.&#x20;

 %requester\_username% requests your approval (ID: %approval\_id%) for the command '%command%'. Reply this message with '%approval\_keyword% %approval\_id%' to approve, '%rejection\_keyword% %approval\_id%' to reject.

:::hint{type="info"}
The available keywords to be used in these templates are:&#x20;&#x20;%approval\_id%, %approval\_keyword%, %rejection\_keyword%, %requester\_username%, %requested\_host%, %command%
:::


The user can send an SMS response in the following format: keyword\_response  approval\_id                                                                                                          Example: APPROVE Gwt674h
