👋 How can we help you?

Integrate with your systems using Webhooks

Webhooks let you integrate AbuseHQ into other systems and call their API endpoints.

Webhooks

Webhooks let you integrate AbuseHQ into other systems and call their API endpoints.

Once set up, Webhooks can be added to a playbook transition.

 

Example

If you want to push the values stored from a case, values that were retrieved by the subscriber resolver for example please see below:

 
  • In order to retrieve the subscriber values you can either reference the full sub-object from the context by addressing it as "s.resolver_data", or you can access single values, e.g. "s.resolver_data.CustomerEmail". Just make sure to add a PQL field and not a regular value to the payload list.
 
⚠️
If you receive an Authentication Failed Error: The easiest way to access the API is by generating an API key in the settings tab. This key then needs to be sent via Bearer Authentication - the Authentication header should contain the string Bearer followed by a whitespace and then the API Key.
 

Slack Message Example

In Slack create an application and a webhook following the documentation found here: https://api.slack.com/messaging/webhooks

 

This should give you a webhook link that follows a pattern like this: https://hooks.slack.com/services/TXXXXXXXX/YYYYYYYYY/ZZZZZZZZ

 

In AHQ create an endpoint:

  1. Url: https://hooks.slack.com
  1. Content-Type: JSON
 

In AHQ create a Webhook that uses the path from above:

  1. Method: POST
  1. Path: /services/TXXXXXXXX/YYYYYYYYY/ZZZZZZZZ
  1. A single payload field named "text" that contains the message to be sent.These fields are fully templatable using liquid, the example most seen is:"New { { event.type }} created: https://YOUR_COMPANY.abusehq.net/#subscribers/{ { case.client_id}}/{ { case.case_number }}"
 
 
 
Did this answer your question?
😞
😐
🤩