Encrypt the plain text

Description

To encrypt the given plain text using a specified encryption type.

OAuth Scope

SalesIQ.encryptions.CREATE

Request headers:

  • content-type [Mandatory] - To specify the content type of the request payload. (Values: application/json)

Request payload:

  • type [Mandatory]  - To specify the encryption type to encrypt the given plain texts. (Values: siqidentifiers)
    Note: 
    • Smart identifiers in campaigns will include visitor's name and email in the identifier link which might lead to some privacy concerns.
    • Using the encryption type siqidentifiers you can generate encrypted values for the visitor's name and email and use them in the smart identifiers. SalesIQ will decrypt the values and identify the visitors automatically keeping your campaigns safe and secure. To know how SalesIQ uses Smart identifiers to identify visitors, check out our help guide here
  • values [Mandatory] - To specify the plain texts to be encrypted based on the type. 
    Note: A list of 20 elements can be given for encryption. Each element will be trimmed before encryption.

 

 

 

URL

Copiedhttps://{[zohosalesiq_server_uri](https://www.zoho.com/salesiq/help/developer-section/rest-api-v2.html)}/api/v2/encryptions

Request body sample

Copied{
  "type":"siqidentifiers",
  "values":["Patricia", "patricia@zylker.com"]
}

Response body sample

Copied{
  "url":"/api/v2/encryptions",
  "object":"list",
  "data":[
    {
      "encrypted_value":"bc697cda523e167bb22e4c8153f36f533af9fae699532533a2",
      "value":"Patricia"
    },
    {
      "encrypted_value":"33ff6631d6cfbdede33d098e446800d55398bbd2c839c16acb",
      "value":"patricia@zylker.com"
    } 
  ]
}