HubSpot HTTP API request signing for Insomnia.
Install insomnia-plugin-hubspot
plugin from Preferences > Plugins.
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).
For more information on HubSpot's Webhook API request signatures, see Webhooks Overview - Security.
For application request signatures, see Validating requests from HubSpot.