Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blake/insomnia-plugin-hubspot

HubSpot HTTP request signature signing for Insomnia
https://github.com/blake/insomnia-plugin-hubspot

hubspot hubspot-api insomnia insomnia-plugin

Last synced: 17 days ago
JSON representation

HubSpot HTTP request signature signing for Insomnia

Awesome Lists containing this project

README

        

# insomnia-plugin-hubspot

HubSpot HTTP API request signing for Insomnia.

## Installation

Install `insomnia-plugin-hubspot` plugin from Preferences > Plugins.

## Usage

Configure your HubSpot secret and desired request signature type under the
`hubspot` environment variable.

```json
{
"hubspot": {
"secret": "[YOUR API SECRET]",
"signatureType": "[OPTIONAL: ]"
}
}
```

Note: `signatureType` defaults to 'application' if not specified.

Insomnia will automatically generate and append an `X-HubSpot-Signature` header
to the outgoing request for configured signature type.

The signature type can be overridden on a per-request basis by manually
configuring the `X-HubSpot-Signature` header, and selecting the template tag for
the desired HubSpot signature type (application or webhook).

## Request Signature formats

For more information on HubSpot's Webhook API request signatures, see
[Webhooks Overview - Security](https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview#security).

For application request signatures, see [Validating requests from HubSpot](https://developers.hubspot.com/docs/faq/validating-requests-from-hubspot).