{"id":1422,"date":"2017-12-30T21:17:28","date_gmt":"2017-12-30T21:17:28","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=1422"},"modified":"2017-12-30T21:17:28","modified_gmt":"2017-12-30T21:17:28","slug":"getting-started-with-kaizala-apis","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/getting-started-with-kaizala-apis\/","title":{"rendered":"Getting started with Kaizala APIs"},"content":{"rendered":"<p>In case you are new to Kaizala, you can read <strong>Introduction to Kaizala Extensibility<\/strong> blog. In this post, we will get on boarded to Kaizala APIs and send a message on a group using API. Briefly, we will see how to:<\/p>\n<ul>\n<li>Get the Kaizala Postman API collection<\/li>\n<li>Understanding of Kaizala connectors and creating them<\/li>\n<li>Authenticating to Kaizala<\/li>\n<li>Creating a group and sending a message on Kaizala<\/li>\n<\/ul>\n<h2>Get the Kaizala Postman API collection<\/h2>\n<p>Kaizala has the APIs documented as a Postman collection that is available at\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/kaizala\/connectors\/api\">https:\/\/docs.microsoft.com\/en-us\/kaizala\/connectors\/api<\/a>. You will need the Postman REST client to use this. In case you don\u2019t have Postman, you can download it from\u00a0<a href=\"http:\/\/www.getpostman.com\/\">http:\/\/www.getpostman.com<\/a>. Under the \u201c<strong>Postman Collection<\/strong>\u201d section, click on the \u201c<strong>Run in Postman<\/strong>\u201d button. This will download the Postman collection locally and will be seen under\u00a0<strong>Collections<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-47\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/1-postmancollection.png?w=1100\" alt=\"1-PostmanCollection\" data-attachment-id=\"47\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/1-postmancollection\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/1-postmancollection.png?w=1100\" data-orig-size=\"329,465\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"1-PostmanCollection\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/1-postmancollection.png?w=1100?w=212\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/1-postmancollection.png?w=1100?w=329\" \/><\/p>\n<p>The collection uses Environment Variables, which can be seen by clicking on the\u00a0<img decoding=\"async\" class=\"alignnone size-full wp-image-58\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/11-eye-icon1.png?w=1100\" alt=\"11-eye-icon\" data-attachment-id=\"58\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/11-eye-icon\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/11-eye-icon1.png?w=1100\" data-orig-size=\"28,15\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"11-eye-icon\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/11-eye-icon1.png?w=1100?w=28\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/11-eye-icon1.png?w=1100?w=28\" \/>icon.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-48\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/2-environmentvariables.png?w=1100\" alt=\"2-EnvironmentVariables\" data-attachment-id=\"48\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/2-environmentvariables\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/2-environmentvariables.png?w=1100\" data-orig-size=\"566,641\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2-EnvironmentVariables\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/2-environmentvariables.png?w=1100?w=265\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/2-environmentvariables.png?w=1100?w=566\" \/><\/p>\n<p>Click on Edit and set the below environment variables to follow this article:<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"149\">mobile-number<\/td>\n<td width=\"474\">Starts with + followed by country code and the mobile number. For e.g. for a sample Indian mobile number it would be +919885098850<\/td>\n<\/tr>\n<tr>\n<td width=\"149\">application-id<\/td>\n<td width=\"474\">&lt;&lt;after following step-1 below update this with the\u00a0<strong>Connector ID<\/strong>&gt;&gt;<\/td>\n<\/tr>\n<tr>\n<td width=\"149\">application-secret<\/td>\n<td width=\"474\">&lt;&lt;after following step-1 below update this with the\u00a0<strong>Connector Secret<\/strong>&gt;&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2>Connector<\/h2>\n<p>To work with Kaizala APIs, you will need a connector. Kaizala Connectors enable 3rd party developers to integrate Kaizala into their business processes by providing the ability to perform a curated set of actions in Kaizala using REST based API calls. Connector is also called as Application and are used interchangeably in Kaizala. You can read more about connectors\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/kaizala\/connectors\/readme\">here<\/a>. While configuring the connector you will also need to give a set of permissions that you would like the connector to have.<\/p>\n<h2>Authentication Tokens<\/h2>\n<p>Kaizala APIs use token based authentication and to access any API endpoint, you need to have an access token. An access token is generated using a refresh token. The validity of access token is 24 hours and that of refresh token is 365 days. Below is the list of different types of refresh tokens available today:<\/p>\n<ol>\n<li>Group level refresh token<\/li>\n<li>User refresh token<\/li>\n<li>Tenant admin refresh token<\/li>\n<li>OAuth refresh token<\/li>\n<\/ol>\n<p>For this post, we will use #2 above \u2013 User refresh token. For details around different types of tokens available refer the documentation\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/kaizala\/connectors\/tokens\">here<\/a>.<\/p>\n<h2>Creating and sending a message on a group<\/h2>\n<p>In order to use the API, you will need to create a connector and use the connector details in the API for authenticating to Kaizala. Below are the set of steps that will take you through the process of creating the connector, authenticating to Kaizala, creating a group and sending a message on the group:<\/p>\n<ul>\n<li>Register a connector to get the application id and application secret<\/li>\n<li>Generate PIN for the mobile number (<em>to authenticate as the user belonging to the mobile number<\/em>)<\/li>\n<li>Use the PIN and Application Id to generate the refresh token<\/li>\n<li>Use the refresh token, application id, application secret to generate the access token<\/li>\n<li>Create a group<\/li>\n<li>Send message on the group<\/li>\n<\/ul>\n<p>[<strong>Note:<\/strong>\u00a0application and connector are used interchangeably, so application id \/ connector id is the same and so is application secret \/ connector secret]<\/p>\n<h3>Step 1 \u2013 Register a connector to get the application id and application secret<\/h3>\n<ul>\n<li>Go to\u00a0<a href=\"https:\/\/manage.kaiza.la\/Connectors\/Connectors\">https:\/\/manage.kaiza.la\/Connectors\/Connectors<\/a>\u00a0and click on \u201c<strong>Add connector<\/strong>\u201d button<\/li>\n<li>Fill in the connector details such as connector name, connector description, upload a connector image and hit\u00a0<strong>Continue<\/strong>. (<em>Ignore the\u00a0<strong>Redirect URL<\/strong>\u00a0and\u00a0<strong>Redirection proxy<\/strong>\u00a0for now.<\/em>)<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-49\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/3-connector-page1.png?w=1100\" alt=\"3-connector-page1\" data-attachment-id=\"49\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/3-connector-page1\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/3-connector-page1.png?w=1100\" data-orig-size=\"537,530\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"3-connector-page1\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/3-connector-page1.png?w=1100?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/3-connector-page1.png?w=1100?w=537\" \/><\/p>\n<ul>\n<li>Give the permissions you want to grant and hit \u201c<strong>Create connector<\/strong>\u201d<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-50\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/4-connector-page2.png?w=1100\" alt=\"4-connector-page2\" data-attachment-id=\"50\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/4-connector-page2\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/4-connector-page2.png?w=1100\" data-orig-size=\"624,841\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"4-connector-page2\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/4-connector-page2.png?w=1100?w=223\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/4-connector-page2.png?w=1100?w=624\" \/><\/p>\n<ul>\n<li>Go to\u00a0<a href=\"https:\/\/manage.kaiza.la\/Connectors\/Connectors\">https:\/\/manage.kaiza.la\/Connectors\/Connectors<\/a>\u00a0page and select the connector you just created<\/li>\n<li>Keep the\u00a0<strong>Connector secret<\/strong>\u00a0and\u00a0<strong>Connector ID<\/strong>\u00a0handy<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-51\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/5-demo-connector.png?w=1100\" alt=\"5-demo-connector\" data-attachment-id=\"51\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/5-demo-connector\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/5-demo-connector.png?w=1100\" data-orig-size=\"532,229\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"5-demo-connector\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/5-demo-connector.png?w=1100?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/5-demo-connector.png?w=1100?w=532\" \/><\/p>\n<p>Update the Postman environment variables to update application-id and application-secret<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"149\">application-id<\/td>\n<td width=\"474\">&lt;&lt;after following step-1 below update this with the\u00a0<strong>Connector ID<\/strong>&gt;&gt;<\/td>\n<\/tr>\n<tr>\n<td width=\"149\">application-secret<\/td>\n<td width=\"474\">&lt;&lt;after following step-1 below update this with the\u00a0<strong>Connector Secret<\/strong>&gt;&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3>Step 2 \u2013 Generate PIN for the mobile number<\/h3>\n<p>In the postman collection, click on\u00a0<strong>[1.0] Authentication<\/strong>\u00a0folder and click on\u00a0<strong>Step1 \u2013 Generate Pin<\/strong>, and hit Send. This will send a PIN to the mobile number that you had set in the Environment Variables<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-52\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/6-generate-pin.png?w=1100\" alt=\"6-generate-pin\" data-attachment-id=\"52\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/6-generate-pin\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/6-generate-pin.png?w=1100\" data-orig-size=\"1097,330\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"6-generate-pin\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/6-generate-pin.png?w=1100?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/6-generate-pin.png?w=1100?w=1024\" \/><\/p>\n<h3>Step 3 \u2013\u00a0 Use the PIN and Application Id to generate the refresh token<\/h3>\n<p>In the postman collection, click on\u00a0<strong>[1.0] Authentication<\/strong>\u00a0folder and click on\u00a0<strong>Step2 \u2013 Login with pin and applicationId to get refreshToken<\/strong>. In the Body section, update the pin (8876 in the below image) with the pin you received on your mobile and hit\u00a0<strong>Send<\/strong>. This will generate the refreshToken (and also set that in the environment variable \u201c<strong><em>refresh-token<\/em><\/strong>\u201d for future use).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-53\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/7-generate-refreshtoken.png?w=1100\" alt=\"7-generate-refreshToken\" data-attachment-id=\"53\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/7-generate-refreshtoken\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/7-generate-refreshtoken.png?w=1100\" data-orig-size=\"1097,322\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"7-generate-refreshToken\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/7-generate-refreshtoken.png?w=1100?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/7-generate-refreshtoken.png?w=1100?w=1024\" \/><\/p>\n<h3>Step 4 \u2013 Use the refresh token, application id, application secret to generate the access token<\/h3>\n<p>In the postman collection, click on\u00a0<strong>[1.0] Authentication<\/strong>\u00a0folder and click on\u00a0<strong>Step3 \u2013 Retrieve the access token\u00a0<\/strong>and click on Send. It will pick the applicationId, applicationSecret and refreshToken from the respective environment variables and fetch the accessToken (and also set that in the environment variable \u201c<strong><em>access-token<\/em><\/strong>\u201d for future use). Now that you have the access token, you have the required authentication token to invoke any of the Kaizala APIs.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-54\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/8-generate-access-token.png?w=1100\" alt=\"8-generate-access-token\" data-attachment-id=\"54\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/8-generate-access-token\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/8-generate-access-token.png?w=1100\" data-orig-size=\"1105,334\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"8-generate-access-token\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/8-generate-access-token.png?w=1100?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/8-generate-access-token.png?w=1100?w=1024\" \/><\/p>\n<h3>Step 5 \u2013 Create a group<\/h3>\n<p>In the postman collection, click on\u00a0<strong>[2.0] Group management\u00a0<\/strong>folder and click on\u00a0<strong>Step1 \u2013 Create a group<\/strong>. In the\u00a0<strong><em>Body\u00a0<\/em><\/strong>tab, you can add the mobile numbers you want to be added as members to the group. For this example, I am not adding any members (removed members:[\u201c{{mobile-number-2}}\u201d], from the default body).\u00a0<strong>\u00a0<\/strong>Click on\u00a0<strong><em>Send<\/em><\/strong>. You should be able to see the newly created group on Kaizala on your mobile.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-55\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/9-create-group.png?w=1100&amp;h=292\" alt=\"9-create-group\" width=\"1100\" height=\"292\" data-attachment-id=\"55\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/9-create-group\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/9-create-group.png?w=1100&amp;h=292\" data-orig-size=\"1100,292\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"9-create-group\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/9-create-group.png?w=1100&amp;h=292?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/9-create-group.png?w=1100&amp;h=292?w=1024\" \/><\/p>\n<h3>Step 6 \u2013 Send a message on the group<\/h3>\n<p>In the postman collection, click on\u00a0<strong>[3.0] Content Creation APIs\u00a0<\/strong>folder and click on\u00a0<strong>Send message on a group<\/strong>. In the\u00a0<strong><em>Body\u00a0<\/em><\/strong>tab, you can edit the message if you want and click on\u00a0<strong><em>Send\u00a0<\/em><\/strong>button. You should receive the message on the group you created in Step 5.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-56\" src=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/10-send-message.png?w=1100&amp;h=304\" alt=\"10-send-message\" width=\"1100\" height=\"304\" data-attachment-id=\"56\" data-permalink=\"https:\/\/kaizala007.blog\/2017\/12\/30\/getting-started-with-kaizala-apis\/10-send-message\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/10-send-message.png?w=1100&amp;h=304\" data-orig-size=\"1100,304\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"10-send-message\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/10-send-message.png?w=1100&amp;h=304?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2017\/12\/10-send-message.png?w=1100&amp;h=304?w=1024\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>Congratulations on sending your first message on Kaizala using APIs. You can go ahead and explore the various other API endpoints \/ support that Kaizala has by exploring the \u201c<strong>Kaizala Server APIs<\/strong>\u201d Postman collection. You could now call these APIs programmatically to integrate Kaizala with your system. For a C# code sample on getting started, you could refer\u00a0<a href=\"https:\/\/github.com\/MicrosoftDocs\/kaizala-docs\/blob\/master\/Articles\/Samples\/Getting%20started%20with%20Kaizala%20REST%20APIs%20-%20C%23%20sample%20(shared).docx\">this<\/a>\u00a0document. Thank you for reading, stay tuned!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we will get on boarded to Kaizala APIs and send a message on a group using API. Briefly, we will discuss: Get the Kaizala Postman API collection, Understanding of Kaizala connectors and creating them, Authenticating to Kaizala, and Creating a group and sending a message on Kaizala.<\/p>\n","protected":false},"author":69216,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[21,87],"class_list":["post-1422","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-add-ins","tag-connectors","tag-kaizala"],"acf":[],"blog_post_summary":"<p>In this post, we will get on boarded to Kaizala APIs and send a message on a group using API. Briefly, we will discuss: Get the Kaizala Postman API collection, Understanding of Kaizala connectors and creating them, Authenticating to Kaizala, and Creating a group and sending a message on Kaizala.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69216"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=1422"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1422\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=1422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=1422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=1422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}