Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/abdulrahmandaud10/tilil-sms-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/abdulrahmandaud10/tilil-sms-api

  • v0.0.0-20240131080750-da1bb867199f
  • Source
  • Go
  • Socket score

Version published
Created
Source

TILIL-SMS-API

A quick step by step guide on how to send bulk and premium messages using an application interface (API). It has been made simple to enable a quick integration into Tilil technologies bulk messaging services.

BULK MESSAGING

Required endpoints:
const (
	    TILIL_SMS_ENDPOINT        = "https://api.tililtech.com/sms/v3/sendsms"
	    TILIL_API_KEY             = " "
	    SENDER_ID                 = "2513"
      )

Edit the variables to your preference

SMS Request Body:

Below is a sample sendsms JSON data:

{
    "api_key": "{{Test API Key}}",
    "service_id": 0,
    "mobile": "0708400000",
    "response_type": "json",
    "shortcode": "Tilil",
    "message": "This is a message.\n\nRegards\nTilil"
}

SMS Responses Body:

SMS Response(s):

1.Success
    [
        {
            "status_code": "1000",
            "status_desc": "Success",
            "message_id": 288369252,
            "mobile_number": "254708400000",
            "network_id": "1",
            "message_cost": 1,
            "credit_balance": 148
        }
    ]

2.Failed
    [
        {
            "status_code": "1003",
            "status_desc": "Invalid mobile number",
            "message_id": "0",
            "mobile_number": "123",
            "network_id": "",
            "message_cost": "",
            "credit_balance": ""
        }
    ]

REMINDER

The api key provided above is for a demo purpose, visit the official website https://tililtechnologies.co.ke/ to create an account acquire the neccessary shortcodes, senderID important data and information required.

FAQs

Package last updated on 31 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc