Example

Given you've created a startup named My startup, which is accessible at
https://lucr.io/@my-startup and you've added a reward with the action
key named my-sample-action your request should be POST'ed
to the URL:

The 401 status code means there is a problem with your authorization token.

The 404 status code can be caused by wrong startup slug or a user with given email address
is not registered to Lucr.io. If you are sure that a startup slug and action name are correct
you can safely ignore this error (the user is not registered in our system and cannot be given a reward).

4. Notifications

Remember that notifications are totally optional. You can easily create an automated system by placing discount codes
directly in the reward's custom message (that goes to the user every time he/she earns a reward).

When a user performs required actions he/she will be awarded with one of your rewards.
You will be notified whenever this happens by one or more channels. You can choose from:

E-mail notification

Slack webhook

URL webhook

Webhook notification

If you enabled the URL webhook we will POST to the given URL
with a JSON body: