Skip to main content
POST
Encrypt data

Authorizations

X-Qanapi-Authorization
string
header
required

Headers

x-qanapi-fields
string
required

Comma separated list of fields to encrypt. You can use dot notation to access nested fields.

x-qanapi-destination
string

A URL to forward the encrypted data to. All non-qanapi headers will be forwarded to the destination.

Path Parameters

proxy
string
required

The proxy slug of the encryption configuration. Get this from your Encryption Configurations and the proxy_slug value.

Body

application/json

A JSON object to encrypt fields on. A maximum depth of 32 is allowed.

Response

Encrypted data

The response is of type object.