API Webhook

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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
Query Params
string
required
Defaults to karmabotdemo-eaff2b7c6d9364a30ddfa825c0c17a6d
string
required
Defaults to U8ASPM2JW

Slack user ID. It looks like this usually: U8960QXGX

string

Slack channel name: general or channel_name without #. Not required but recommended.

string
required
Defaults to ++

++ for positive karma or -- for negative.

int32
required
Defaults to 1

Score for your karma. Positive only. From 1 till 1000.

string
required
Defaults to For being awesome

A reason, a short description for your karma request.

boolean
Defaults to true

Send true to approve it instantly. False will send the request to moderators.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json