Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.17 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.17 KB

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.

{
    "hubspot": {
        "secret": "[YOUR API SECRET]",
        "signatureType": "[OPTIONAL: <application/webhook>]"
    }
}

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.

For application request signatures, see Validating requests from HubSpot.