RapidAPI logo

Sign Up

Log In

Viber

FREE
By zakutynsky
Updated 3 months ago
Communication
6.8/10
Popularity Score
313ms
Latency
100%
Success Rate

Viber API Documentation

With Viber’s APIs, you can create unique experiences for users at scale.

View API Details
POSTdeleteAllWebhooks
POSTgetAccountInfo
POSTgetOnlineStatus
POSTgetUserDetails
POSTsendBroadcastMessage
POSTsendCarouselContentMessage
POSTsendContact
POSTsendFile
POSTsendLocation
POSTsendPicture
POSTsendSticker
POSTsendTextMessage
POSTsendUrl
POSTsendVideo
POSTsetWebhook
POSTwebhookEvent
POSTdeleteAllWebhooks

Cancel webhooks event

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
tokenCREDENTIALS
REQUIREDYour viber token
Request Snippet
unirest.post("https://ViberzakutynskyV1.p.rapidapi.com/deleteAllWebhooks")
.header("X-RapidAPI-Host", "ViberzakutynskyV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://ViberzakutynskyV1.p.rapidapi.com/deleteAllWebhooks")
.header("X-RapidAPI-Host", "ViberzakutynskyV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication