Pipes
2.1.0 Pipes
2.1.0 Pipes
  • Introduction
  • Configuration
  • Valves
    • Debug
      • Dump Request
      • Dump Session
      • Dump State
    • Flow
      • Flow Fail
      • Flow State Add
      • Assert Value
      • Pipe Exec
      • Pipe Call
    • Item
      • Item Create
      • Item Merge
      • Item Remove
      • Items Remove
      • Item Property Add
      • Item Property Split
      • Item Property Rename
      • Item Property Token Replace
      • MV Property To Items
      • MV Property Join
    • Freja
    • BankID
      • BidOperation
      • BidToItems
    • DateTime
      • Instant Generator
      • Instant Transformer
    • HTTP
      • GET
      • PUT
      • POST
      • DELETE
    • JWT
      • CreateJwt
      • ParseJwt
    • JSON
      • JsonObjectCreate
    • LDAP
      • LDAP Search
      • LDAP Group Filter
      • LDAP Bind
      • LDAP Add
      • LDAP Modify
      • LDAP Move
      • DN Parse
    • JDBC Query
    • Cef event
    • Request
      • RequestParameterExist
      • RequestParameterRename
    • Session
      • Session Put
      • CopyFromSession
    • ScriptEval
    • Codecs
      • Base64 Encode
      • Base64 Decode
    • Tokens
      • Token Authentication
    • PKI
      • X509 Certificate Extractor
      • X509 Certificate Validator
    • Delivery
      • Clean Mobile Valve
      • SMS Valve
      • Voice Valve
      • SMTP Valve
    • OTP
      • OTP Generation
      • OTP Validation
    • Misc
      • Basic Auth
Powered by GitBook
On this page
  1. Valves
  2. Delivery

SMS Valve

Delivers a text-message (SMS).

Use this valve to send messages via SMS.

Configuration

Valve name: SendBySms | SmsSender

Name
Description
Default value
Mandatory
Expanded

http_destination

ID of the internal http client used to talk with the SMS backend.

"default"

api_username

Username for the API backend.

N/A

api_password

Password for the API backend.

N/A

api_identifier

Identifier. This value is presented as the "sender" of the text-message.

N/A

username_parameter

Only used for logging and events.

"{{{request.User-Name}}}"

message_parameter

Parameter containing the message.

"Your otp is: {{{item.generated_otp_value}}}"

mobile_parameter

Parameter containing the receiving mobile number.

"{{{item.mobile}}}"

use_flash_message

To send message as flash.

false

clean_mobile

Removes unwanted characters.

true

recipient_prefix

Prefixes mobile number if it starts with '0'.

"+46"

force_prefix

Always add prefix.

true

remove_leading_plus

Remove +

false

{
    "name": "SendBySms",
    "enabled": true,
    "config": {
        "api_username": "<api_username>",
        "api_password": "<api_password>",
        "api_identifier": "<api_identifier>",
        "username_parameter": "{{{request.username}}}",
        "message_parameter": "Your otp is: {{{item.generated_otp_value}}}",
        "mobile_parameter": "{{{item.mobile}}}",
        "use_flash_message": true
    }
}
PreviousClean Mobile ValveNextVoice Valve