Skip to main content
POST
/
encrova-service
/
api
/
v1
/
symmetric
/
encrypt
Encrypt Symmetric
curl --request POST \
  --url https://encryption.platform.dev.ai71services.ai/encrova-service/api/v1/symmetric/encrypt \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-secret-key: <x-secret-key>' \
  --data '
{
  "payload": "<any>"
}
'
{
  "enc": "<string>"
}

Headers

x-api-key
string
required
x-secret-key
string
required

Body

application/json

Request schema for the encryption/decryption API. Accepts the payload and the encryption/decryption type.

payload
any
required

Response

Successful Response

Response schema for the encryption/decryption API. Returns the encrypted or decrypted data (JWE or plaintext).

enc
string
required