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

github.com/ron96g/whatsapp-bizapi-mock

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ron96g/whatsapp-bizapi-mock

  • v0.0.0-20210927073043-aec626503c3e
  • Source
  • Go
  • Socket score

Version published
Created
Source

WhatsApp Business API Mockserver

This repository contains the mockserver for the WhatsApp Business API (WABiz). It is used to perform integration-, system- and load-testing.

Supported Endpoints

EndpointUsageSupported
POST /v1/generategenerate webhook requests
POST /v1/generate/cancelstop generation of webhook requests
POST /v1/messagessend messages
POST /v1/userscreate user
DEL /v1/users/{name}delete user
POST /v1/users/loginlogin user
POST /v1/users/logoutlogout user
POST /v1/mediasave media file
GET /v1/media/{id}delete media file
DEL /v1/{media/id}get media file
GET /v1/contactscheck for wa_id for contact input
XXX /v1/contacts/{wa_id}/identitymanage whatsapp id identity
XXX /v1/settings/**setup application settings
XXX /v1/profile/**setup all profile settings
XXX /v1/stickerpacks/**all stickerpacks functionality
XXX /v1/certificates/**webhook ca certificates functionality
XXX /v1/accountregistration functionality
XXX /v1/account/verifyregistration functionality

Functionaliy

The following list shows the core functionality that is currently supported.

  1. Generate inbound traffic with different messages and media
  2. Generate stati for outbound traffic
  3. Rate limiting
  4. (TBD) Validate outbound traffic
  5. (TBD) strict validation (only allow outbound messages to users that have sent a inbound message)

Supported Messages

The following message types are currently supported. Inbound types are generated and sent via the webhook. Outbound types are accepted by the messages resource and validated.

TypeInboundOutbound
Text
Image
Audio
Video
Document
Location
Interactive
Template
Contact
System

Notes

Generate model code

make build-protoc

FAQs

Package last updated on 27 Sep 2021

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