Webhook signatures and API request signing often come down to one thing, an HMAC. Before blaming the server, it helps to check your own idea of the result against a tool you trust.
printf %s hello | openssl dgst -sha256 -hmac secret
That prints the SHA-256 HMAC of the text hello with the key secret. On OpenSSL 3.0.13 it begins with 88aab3ede8d3adf9. The printf %s keeps a newline from being added to the message, because one extra byte gives a completely different input.
For a file, give the name at the end: openssl dgst -sha256 -hmac secret body.json. Without -hmac, the same command gives a plain SHA-256 hash with no key. For hello that is 2cf24dba5fb0a30e at the start, so the two outputs are easy to tell apart when you mix them up.
The docs say the openssl mac command is preferred over -hmac. The same HMAC with it:
printf %s hello | openssl mac -digest SHA256 -macopt key:secret HMAC
It prints the same value, but in capital letters. The -macopt option also takes hexkey: for a key written in hexadecimal.
Caveat: key: is for printable characters only, so a key that comes from random bytes needs hexkey: instead. And since the docs prefer openssl mac for this job, I’d use dgst -hmac mainly for a quick check of a webhook example, with a made-up key.
Further reading: openssl-dgst documentation, openssl-mac documentation