Skip to main content
POST
cURL

Path Parameters

keyId
string<uuid>
required

The ID of the key to verify the MAC with. The key must be for generating and verifying MACs.

Body

application/json
data
string
required

The data in string format the MAC was generated for (base64 encoded).

mac
string
required

The MAC to be verified (base64 encoded).

Response

Default Response

macValid
boolean
required
keyId
string<uuid>
required
macAlgorithm
enum<string>
required
Available options:
HMAC_SHA_1,
HMAC_SHA_224,
HMAC_SHA_256,
HMAC_SHA_384,
HMAC_SHA_512