Getting Started

Nirah helps companies send webhooks. This page focuses on the absolute minimum required to start sending webhooks.

  1. Start by signing up for Nirah
signup
  1. After sign up, it takes you to a page which mentions that a verification email is sent.

  2. Check your email inbox and click on the email verification link.

email confirmation
  1. Login using your credentials
  2. You will be asked to give an organisation name and click on Create

create organisation
  1. After successfully creating an organisation, it will take you to a page to create a project. Give it a descriptive name, select a region and go ahead to click Create Project.
create project for sending webhooks
  1. After submitting the form, it will create the project along with a default API Key and API secret. Make sure to store this sensitive information somewhere as it would be required to call Nirah’s APIs. A cURL command is also there to enable you to send your first webhook.
project page detailing how to send webhooks
  1. Visit Webhook.site to generate an API endpoint to send webhooks to and copy it. Webhook.site allows you to see and inspect the requests that are coming, along with the headers and the body.

Should be of the form https://webhook.site/119659db-b93a-487a-bcab-e12bef5f7026.

  1. Copy the cURL request and REPLACE the endpoints field with the webhook.site URL you copied in the previous step and send the request.
curl --request POST   --url https://api.prototype.nirah.app/v1/webhook/send/create   --header 'Authorization: Bearer NH.KZtkvfKq8eoulmgLaN8gKaWKCY3vdDdcPH5UPblVsSlUusK.nhh5oT8gWVCZN2jWGQXco4joAN2evYJymt05ijUWvdvnldZtoJXxfCJwPTpm'   --header 'Content-Type: application/json'   --data '{ 
  "projectID": "nirah-test-bb5bc8459fd6",
    "endpoints": [
        "https://webhook.site/119659db-b93a-487a-bcab-e12bef5f7026"
    ],
    "method": "POST",
    "body": {
      "name":"Nirah Webhooks as a Service",
      "website":"https://www.nirah.app"
    },
    "headers": {
        "X-Custom-Header": "custom-valueABC"
    }
}'
  1. Check Webhook.site to see that the webhook has been received.
webhook.site received the webhook for debug
  1. Click on “Webhooks Sent” on the dashboard to see all the webhooks that have been sent along with the delivery logs
webhooks sent details
  1. Click on a particular webhook to open the right hand side bar to show more details
all sent webhooks
  1. Click on “List All attempts” to open a list of all the attempts it took to deliver the webhook.
webhook attempts
  1. Click on a particular attempt to see the request/response headers and body.
webhook attempts details

This is just to get started. This is still not secure. For that, we would have to start doing a few additional things namely defining events and endpoints as described in detail in How to securely send webhooks how-to guides section.