Handling Webhooks

Please, excuse our mess.  As we rebrand from Vamp to Qualta AI, you may see references to Vamp in text and images throughout our Knowledge Base. We are working to update articles and remove these occurrences as quickly as possible.

Once you create a webhook, we will start sending webhook events shortly after they occur.

Vamp sends webhooks as a POST  request containing a JSON object payload.

Accepting the Request

Vamp expects a 200  status code to be returned from the webhook endpoint you provided.

The connection will time out after two seconds, therefore you should return a response prior to performing any long-running processes.

In the event a 200  status is not returned or the connection times out, we will try to send the webhook again in two-minute intervals for up to ten minutes.

After ten minutes, the webhook will not be attempted again. However, you can still review the payload in the webhook logs.

Bearer Token

After you create your webhook you will be redirected to the Edit Webhook screen.

There, you will see a read-only Bearer Token field.

Vamp will send this Bearer token in the Authorization  header with every webhook request. You may check requests against this token to verify the webhook originated from Vamp.

Select the eye icon to reveal the token.

Keep the Bearer Token secure. If you believe your token has been compromised, please delete the webhook and create a new one.

Webhook Payload

The webhook payload will contain a JSON object with this format:

{
  "event" : "EVENT_NAME"
  "object" : "OBJECT_NAME"
  "OBJECT_NAME" : {
    ...OBJECT_DATA
  }
}

For example:

{
  "event" : "guide.created"
  "object" : "guide"
  "guide" : {
    "id": "01jpnf7a0zwp4r55nwjs95hfr3",
    "url": "https:\/\/vamp.bot\/i\/c327cb4a-40f6-4516-be61-e6e064d18f09",
    "name": "EarBuds Product Feedback",
    ...
  }
}

The full GuideResource and InterviewResource objects can be found in Vamp's API Documentation.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us