Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.
/ kaizala-api Public archive

Docs and operations in python to Kaizala REST API

Notifications You must be signed in to change notification settings

edsoncelio/kaizala-api

Repository files navigation

Kaizala API

Microsoft Kaizala is a mobile app and service designed for large group communications and work management.


Environment variables:

  • mobile-number : Your mobile number which will be used for invoking apis
  • application-id : ID associated with the Connector
  • application-secret : Secret associated with the Connector
  • endpoint-url: Response at /accessToken
  • root-url: https://api.kaiza.la/v1
  • refreshToken: Response at /accessToken
  • accessToken: Response at /accessToken

To create an Connector:

  • Navigate to Kaizala Management Portal https://manage.kaiza.la/
  • Log in using an existing Office365 account
    • Tap on "Connectors" in the left menu
    • Tap on "Add Connector"
    • Register a connector for the 3rd party system that will use the API
    • Enter the name of the Connector and other details. Tap on Continue
    • Select permissions that is intended for the Connector to have access to
    • Tap on Create Connector

IMPORTANT: Note the ID & Secret that get generated and displayed on the portal

Autentication

  • Generate PIN
  • Login with PIN and applicationID to get refreshToken
  • Retrieve the access token
  • Get loggedin user details

Upload Media

  • Upload media (image / document / audio / album/ video)
  • Upload media URL (image / document / audio / album/ video)

Group Management

  • Create a group
  • Fetch groups
  • Fetch groups with details
  • Add members to a group
  • Query members of a group
  • Remove members from a group

Content Creation APIs

  • Send message on a group
  • Send image on a group
  • Send document on a group
  • Send audio on a group
  • Send video on a group

Subscription APIs (webhooks)

  • Subscribe to all events at group level
  • Subscribe to all events at action level
  • Get all webhooks on a group
  • Unsubscribing a webhook

Bots

  • Create bot user
  • Get bot users
  • Generate accessToken for bot user
  • Update bot user
  • Delete bot user

Future work

  • Add examples

Reference:

  1. https://docs.microsoft.com/en-us/kaizala/connectors/api
  2. https://docs.microsoft.com/en-us/rest/kaizala/

About

Docs and operations in python to Kaizala REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages