API Webhook

Karma bot supports webhooks which allow you to assign karma by making outside API requests from your services.

P.S.: We enjoy using the Postman for testing such queries.

Try it within Karma bot Demo environment

Get on Karma bot Demo slack

Link: karmabot-demo.slack.com.
Login: [email protected]
Password: Karmabot

Now, you're logged in as Guest. Keep that tab opened for now, please.

Open app.karmabot.chat/demo to login into Karma bot Demo admin panel.

1366

Karma bot Demo admin section

When at API page, you will be able to generate the unique authentication token that looks like this:

1658

Karma bot API token

User IDs for testing

You have logged in as Guest to karmabot-demo.slack.com earlier.

  • Guest'suser_id is U8960QXGX

To make it slightly more interesting here is another user_id from the Karma bot Demo team:

  • John Romero: U88U9G4F5
  • Margaret Hamilton: U8BUXAGCF
  • Sid Meier: U8ASPM2JW

Channels for testing

Channel names are optional. They use plain text channel names rather than channel IDs.

  • #apple: apple

Desired output

Guest (user_id: U8960QXGX) got +1(score: 1, type: ++) karma from Karma bot in #apple (channel: apple) channel, which was set to auto-approval (approve: true).

898

Output in Karma bot Demo Slack channel

The reason for this request was set to 'Testing'. All karma requests can be tracked and moderated at Karma page.

1366

Karma bot Demo admin panel

Have fun!

3880
Language
Credentials
Header
Click Try It! to start a request and see the response here!