Delen via


D7Messaging

D7 offers a dependable and affordable cloud-based messaging platform that enables enterprises to engage with their customers through SMS, chat, and various social media platforms.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name D7Networks Support
URL https://d7networks.com/contact/
Email support@d7networks.com
Connector Metadata
Publisher Signtaper Technologies FZCO
Website https://d7networks.com
Privacy policy https://d7networks.com/privacy/
Categories Communication;IT Operations

D7 offers an extensive and cost-effective cloud-based messaging platform that empowers enterprises to engage with their customers comprehensively. With global SMS coverage, the platform allows businesses to reach customers worldwide. It also includes Viber messaging capabilities, enabling direct communication through this popular messaging app. Additionally, D7's OTP verification feature enhances security and user authentication, providing a holistic solution for businesses seeking to connect with their audience across various communication channels.

Prerequisites

You will need the following to proceed:

  • A Microsoft Power Automate subscription
  • A valid subscription in D7API
  • D7API Authentication Token.

How to get credentials

Get D7SMS API_Username and API_Password

Click on "Create Token" and provide a token "Name".

On the next window, click on "Generate Token" and copy the Token

You can regenerate as many auth tokens using the same client_id and client_secret. However, removing the app from the control panel will invalidate all these tokens.

You're now ready to start using this integration.

Get started with your connector

Once you have acquired the token, you can proceed to log in to Microsoft Power Platform and establish a connection with the D7Messaging connector using the same token.

To send SMS messages, you can utilize the SMS-SendMessage endpoint.

For OTP verifications, the process involves generating an OTP using the SendOTP endpoint and subsequently verifying it. Verification is achieved by matching the OTP received on the customer's mobile phone with the OTP ID generated on the SendOTP endpoint, ensuring secure and reliable OTP authentication for your application.

Furthermore, you have the option to employ the ResendOTP feature to request a new OTP (One-Time Password) to be sent to a mobile number.

For sending messages to Viber, please use the Viber-SendMessage endpoint.

Known issues and limitations

To initiate Viber Messaging services, organizations need to register with Viber. For the registration process, please get in touch with support@d7networks.com.

Common errors and remedies

  • ACCESS_TOKEN_SIGNATURE_VERIFICATION_FAILED: This error occurs when an invalid access token is provided. To resolve this issue, please log in to the D7 User Dashboard and regenerate the token from the API Tokens section.

FAQ

You can find the detailed documentation here:

For all support requests and general queries, you can contact support@d7networks.com or visit contact-us

Also, you can avail of the live chat available on our website d7networks.com or you can text us via WhatsApp at +971566816452

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
Authorization securestring The Authorization for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Check Balance

Check D7API account balance

Number Lookup

D7's Number Lookup service to determine the current status of the number.

Resend OTP

Request a new OTP (One-Time Password) to be sent to a mobile number.

Send OTP

Generate and dispatch an OTP (One-Time Password) to a mobile number.

Sends SMS

Send SMS through D7 SMS Gateway

Verify OTP

Verify the OTP (One-Time Password) sent to your mobile number.

Viber - Send Message

Send message to a Viber number.

Check Balance

Check D7API account balance

Returns

Name Path Type Description
balance
balance float

balance

Number Lookup

D7's Number Lookup service to determine the current status of the number.

Parameters

Name Key Required Type Description
recipient
recipient True string

Recipient

Returns

Name Path Type Description
country_code
country_code string

country_code

country_code_iso3
country_code_iso3 string

country_code_iso3

recipient
recipient string

recipient

reachable
reachable string

reachable

network
network string

network

mcc
mcc integer

mcc

mnc
mnc integer

mnc

ported
ported boolean

ported

cic
cic string

cic

imsi
imsi string

imsi

ocn
ocn string

ocn

type
type string

type

request_id
request_id string

request_id

status_code
status_code integer

status_code

status
status string

status

Resend OTP

Request a new OTP (One-Time Password) to be sent to a mobile number.

Parameters

Name Key Required Type Description
otp_request_id
otp_id True string

The OTP ID returned by Send OTP endpoint

Returns

Name Path Type Description
otp_id
otp_id string

otp_id

status
status string

status

expiry
expiry integer

expiry

resend_count
resend_count integer

resend_count

Send OTP

Generate and dispatch an OTP (One-Time Password) to a mobile number.

Parameters

Name Key Required Type Description
originator
originator True string

The Sender/Header of a message. We can use your brand name with a maximum character limit of 11 or your mobile number with your country code.

recipient
recipient True string

Mobile Numbers to send OTP Code. The recipient's phone number should have a country code prefix.

content
content True string

OTP Message Content with {} placeholder

data_coding
data_coding True string

data_coding

expiry
expiry string

OTP Expiry time in seconds

retry_delay
retry_delay string

Regeneate OTP delay

retry_count
retry_count string

Regeneate OTP limit

otp_code_length
otp_code_length string

Length of OTP code. Minimum 2 to maximum 10

otp_type
otp_type string

Should be an enum with values: numeric, alpha, or alphanumeric

success_url
success_url string

Verification Success callback URL

failure_url
failure_url string

Verification Failure callback URL

Returns

Name Path Type Description
otp_id
otp_id string

otp_id

status
status string

status

expiry
expiry integer

expiry

Sends SMS

Send SMS through D7 SMS Gateway

Parameters

Name Key Required Type Description
originator
originator True string

Originator (Sender ID)

recipients
recipients True string

Recipients (Destination numbers seperated by comma)

content
content True string

The message content is being sent

report_url
report_url string

ReportURL (Call back URL to recieve delivery status report - DLR)

data_coding
data_coding string

Data encoding value (Available options are text,unicode and auto)

num_lookup
num_lookup boolean

Activate the number lookup feature to ensure that messages are sent only to valid numbers

schedule_time
schedule_time string

Schedule time with timezone (eg: 2023-04-17T16:18+04:00)

Returns

Name Path Type Description
request_id
request_id string

request_id

status
status string

status

created_at
created_at string

created_at

Verify OTP

Verify the OTP (One-Time Password) sent to your mobile number.

Parameters

Name Key Required Type Description
otp_id
otp_id string

The OTP ID returned by Send OTP endpoint

otp_code
otp_code True string

OTP Code received on customers mobile

Returns

Name Path Type Description
status
status string

status

Viber - Send Message

Send message to a Viber number.

Parameters

Name Key Required Type Description
originator
originator True string

Sender ID

recipients
recipients True string

Destination Number

content
content True string

The message content

image
image string

Image URL

button_action
button_action string

Button action URL

button_caption
button_caption string

Text of Button

call_back_url
call_back_url string

Call back URL to recieve delivery status report

label
label True string

Type of message

Returns

Name Path Type Description
request_id
request_id string

request_id

status
status string

status

created_at
created_at string

created_at